So, I've been wrestling with this for a while with zero luck. I'm attempting to run the container on an Ubuntu 18.04 host, and with the VPN disabled it works. With the VPN enabled, it appears to never successfully connect.
Ubuntu has no tun.ko module; however support for those interfaces is included in the kernel:
$ dmesg | grep tun
[ 2.297678] tun: Universal TUN/TAP device driver, 1.6
Basically, what I see is that the OpenVPN starts, but never gets a valid IP address.
2019-05-26T15:15:19.194876122Z [info] OpenVPN started
2019-05-26T15:15:19.194889755Z
2019-05-26T15:15:19.195350049Z 2019-05-26 11:15:19,195 DEBG 'start-script' stdout output:
2019-05-26T15:15:19.195364298Z [debug] Waiting for valid IP address from tunnel...
2019-05-26T15:15:19.195373706Z
2019-05-26T15:15:19.195854980Z 2019-05-26 11:15:19,195 DEBG 'start-script' stdout output:
2019-05-26T15:15:19.195870025Z Sun May 26 11:15:19 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]209.58.135.108:443
2019-05-26T15:15:19.195880028Z Sun May 26 11:15:19 2019 UDP link local: (not bound)
2019-05-26T15:15:19.195890919Z Sun May 26 11:15:19 2019 UDP link remote: [AF_INET]209.58.135.108:443
2019-05-26T15:15:19.195906454Z
2019-05-26T15:15:49.680951014Z 2019-05-26 11:15:49,680 DEBG 'start-script' stdout output:
2019-05-26T15:15:49.680982600Z Sun May 26 11:15:49 2019 [UNDEF] Inactivity timeout (--ping-exit), exiting
2019-05-26T15:15:49.680991231Z
2019-05-26T15:15:49.681155877Z 2019-05-26 11:15:49,681 DEBG 'start-script' stdout output:
2019-05-26T15:15:49.681192860Z Sun May 26 11:15:49 2019 SIGTERM[soft,ping-exit] received, process exiting
Can anybody provide any help? VPN authentication is via a private key, redacted in the log.
supervisord.log