No Description

dependabot[bot] baca3b7efd Bump docker/build-push-action from 3.1.0 to 3.1.1 1 week ago
.github baca3b7efd Bump docker/build-push-action from 3.1.0 to 3.1.1 1 week ago
Dockerfile 52358bfdb7 Bump alpine from 3.16.0 to 3.16.1 3 weeks ago
README.md a33b36c68f readme: single command to add route 2 years ago
docker-compose.yml d6541b1dd6 make openvpn config path configurable 2 years ago
openvpn-package-log.url 3ef11a2c05 upgrade openvpn package from v2.5.6-r0 to v2.5.6-r1 2 months ago
vpn.sh a0876e946f replace shell with openvpn process (instead of creating subprocess) 9 months ago

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