qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
6.81k stars 333 forks source link

custom vpn/octanevpn not working, dns not working after 10 tries #1559

Open bigbtechnology opened 1 year ago

bigbtechnology commented 1 year ago

I have attached my docker log and .ovpn config. I have yet to be able to connect to octanevpn within docker, but I can do it directly from the OpenVPN client in Debian through the cli. dockcompose_gluetun_1_logs.txt OV-2023-DC - Copy.txt

bnhf commented 1 year ago

@bigbtechnology

One of the strengths of Gluetun is that local DNS is never used, even for the initial server name resolution. Only after the tunnel is up will DNS begin to work. Looking at your custom .ovpn. you haven't turned the hostname of your OpenVPN server into an IP address:

remote gw2.yul2.octanevpn.com 8080

More detail here:

https://github.com/qdm12/gluetun/wiki/OpenVPN-configuration-file

bigbtechnology commented 1 year ago

I appreciate the quick reply. My bad on the config. I actually do have the IP on the config in my docker. Here is the updated config with IP, and a new log. gluetun.txt gluetun_logs.txt