Nav apraksta

dependabot[bot] d06a9a8da4 Bump docker/setup-buildx-action from 2.7.0 to 2.8.0 (#43) 11 mēneši atpakaļ
.github d06a9a8da4 Bump docker/setup-buildx-action from 2.7.0 to 2.8.0 (#43) 11 mēneši atpakaļ
Dockerfile 3ac5282717 Bump alpine from 3.18.0 to 3.18.2 (#42) 11 mēneši atpakaļ
README.md a33b36c68f readme: single command to add route 4 gadi atpakaļ
docker-compose.yml d6541b1dd6 make openvpn config path configurable 3 gadi atpakaļ
vpn.sh a0876e946f replace shell with openvpn process (instead of creating subprocess) 2 gadi atpakaļ

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