Closed RickdeJager closed 2 years ago
I'll have a look later at making the VPN client optional. For example, if no openvpn file is found, the vpn container is just used as a transparent network stack, rather than bailing out.
@RickdeJager So I should wait with merging?
I added a work-around and did a quick smoke test with and without an ovpn file. This should work :crossed_fingers:
The ovpn file should be available when the docker is starting and if not available, you should restart it to try again?
yeah, it just checks on startup, so you can just do:
docker-compose restart vpn
I tested it by doing a full docker-compose down / up
though
Here's an initial VPN implementation. I added
workdir/vpn
to hold openvpn config files.(The VPN config is based on their official example, some of these flags might be unneeded)