Sen descrición

dependabot[bot] f74b30bb36 Bump docker/setup-buildx-action from 2.4.1 to 2.5.0 (#34) %!s(int64=2) %!d(string=hai) anos
.github f74b30bb36 Bump docker/setup-buildx-action from 2.4.1 to 2.5.0 (#34) %!s(int64=2) %!d(string=hai) anos
Dockerfile 35e9db4446 Bump alpine from 3.17.1 to 3.17.2 (#33) %!s(int64=2) %!d(string=hai) anos
README.md a33b36c68f readme: single command to add route %!s(int64=4) %!d(string=hai) anos
docker-compose.yml d6541b1dd6 make openvpn config path configurable %!s(int64=4) %!d(string=hai) anos
openvpn-package-log.url 53f9f19d42 upgrade openvpn package from v2.5.6-r1 to v2.5.8-r0 (see below) %!s(int64=2) %!d(string=hai) anos
vpn.sh a0876e946f replace shell with openvpn process (instead of creating subprocess) %!s(int64=3) %!d(string=hai) anos

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