Ei kuvausta

dependabot[bot] 7e57eea798 Bump alpine from 3.15.4 to 3.16.0 2 vuotta sitten
.github a4a82ed498 Bump docker/build-push-action from 2.10.0 to 3.0.0 3 vuotta sitten
Dockerfile 7e57eea798 Bump alpine from 3.15.4 to 3.16.0 2 vuotta sitten
README.md a33b36c68f readme: single command to add route 5 vuotta sitten
docker-compose.yml d6541b1dd6 make openvpn config path configurable 4 vuotta sitten
openvpn-package-log.url 0db41c6192 upgrade alpine base image to v3.15.0 including openvpn package upgrade to v2.5.4-r0 3 vuotta sitten
vpn.sh a0876e946f replace shell with openvpn process (instead of creating subprocess) 3 vuotta sitten

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)"