I'm trying to connect to VPN Gate using the softethervpn/vpnclient:latest Docker image, but I'm running into problems and wondered if anyone can offer any advice.
I'm using the docker-compose.yaml file provided in the GitHub repo. After I get the container running, I use vpncmd to create a virtual network adapter (NicCreate), setup the VPN Gate account (AccountCreate), connect (AccountConnect), and obtain an IP via udhcpc -I vpn_vpn, but the routing table shows:
Code: Select all
~ # ip route
default via 172.19.0.1 dev eth0
default via 10.240.254.254 dev vpn_vpn metric 203
10.240.0.0/16 dev vpn_vpn scope link src 10.240.248.214
172.19.0.0/16 dev eth0 scope link src 172.19.0.2
Code: Select all
~ # ip route replace default via 172.19.0.1 dev eth0 metric 250
~ # ip route
default via 172.19.0.1 dev eth0
default via 10.240.254.254 dev vpn_vpn metric 203
default via 172.19.0.1 dev eth0 metric 250
10.240.0.0/16 dev vpn_vpn scope link src 10.240.248.214
172.19.0.0/16 dev eth0 scope link src 172.19.0.2
Thank you for any help/advice you can provide.