説明なし

dependabot[bot] 3c6f298bd4 Bump docker/setup-buildx-action from 1.6.0 to 1.7.0 2 年 前
.github 3c6f298bd4 Bump docker/setup-buildx-action from 1.6.0 to 1.7.0 2 年 前
Dockerfile 6d1400016e Bump alpine from 3.15.3 to 3.15.4 2 年 前
README.md a33b36c68f readme: single command to add route 4 年 前
docker-compose.yml d6541b1dd6 make openvpn config path configurable 3 年 前
openvpn-package-log.url 0db41c6192 upgrade alpine base image to v3.15.0 including openvpn package upgrade to v2.5.4-r0 2 年 前
vpn.sh a0876e946f replace shell with openvpn process (instead of creating subprocess) 2 年 前

README.md

$ sudo docker-compose up
...
gateway_1  | + openvpn --config /vpn-config/hackthebox.ovpn --user openvpn --group openvpn
...
$ sudo ip route add 10.10.10.0/24 via \
    "$(sudo docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' hackthebox_gateway)"