Joentje/nordvpn-proxy

Custom DNS IP's aren't used in OpenVPN

matt-laird opened this issue · 3 comments

For example, used Cloudflare resolvers:
Screenshot 2021-04-23 232417
OpenVPN gets the default NordVPN DNS resolvers:
Screenshot 2021-04-23 232301

Thanks for reporting. Somehow this look indeed enforced to the Nordvpn DNS. Need to find some time to take a look :)

Did some digging, seems you need to add some logic that appends the DNS options in the start command for OpenVPN.
Arguments to add would be something like this:
openvpn --push "dhcp-option DNS 1.1.1.1"
reference:

Closing this off as I better understand the OpenVPN server and client lifecycle now. This is not an issue, the OpenVPN client gets those settings pushed to it from the server and is forced to abide by those settings.