No Description

Fabian Peter Hammerle d6541b1dd6 make openvpn config path configurable 4 days ago
Dockerfile d6541b1dd6 make openvpn config path configurable 4 days ago
README.md a33b36c68f readme: single command to add route 2 months ago
docker-compose.yml d6541b1dd6 make openvpn config path configurable 4 days ago
vpn.sh d6541b1dd6 make openvpn config path configurable 4 days 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)"