EX when i'm connected the DNS is the NordVPN DNS and my Static settings are the Google DNS Server. But every client connected to that VPN Client uses the NordVPN DNS.
Joined: 18 Mar 2014 Posts: 12904 Location: Netherlands
Posted: Mon Nov 02, 2020 21:50 Post subject:
ymurawski wrote:
Hi, thanks for your answer.
i have the r44700 and a Netgear XR700 or R9000
I tested your Config, but i i use this, it uses the Original DNS from my ISP -> Vodafone
Under Setup-Basic Settings i took Static DNS 192.168.1.205 to my PihOle DNS
My additional VPN Server settings are now:
push "route 192.168.1.0 255.255.255.0"
push "route-gateway 192.168.1.1"
My DNSMASQ Settings are:
Dnsmasq Enable
No DNS Rebind Enable
Query DNS in Strict Order Enable
strict-order
server=192.168.1.205
Setup-Basic:
Use DNSMasq for DNS YES
DHCP-Authoritative YES
Static DNS1 192.168.1.205
So i just want that when i connect from outside to my OpenVPN Server to use the DNS 192.168.1.205
I am a bit confused, in your original post you mention a VPN client to Nord but now a VPN server appears
If you follow my advice you will no longer use the pushed DNS servers from Nord but the DNS servers you normally use.
And yes that can be your ISP's if you did not enable 'Ignore WAN DNS' on setup page.
Joined: 18 Mar 2014 Posts: 12904 Location: Netherlands
Posted: Tue Nov 03, 2020 12:13 Post subject:
OK so to recap your clients connected to your own OVPN server are routed out for internet access via your Nord VPN client, so the OVPN servers subnet is also in the PBR range.
Like Nord is pushing its DNS server to you (and you seem to want that so discard my earlier posts) you have to push the DNS server to your OVPN clients.
See the OpenVPN server setup guide, there is a chapter abut pushing routes and DNS to your clients.