Posted: Tue Apr 19, 2022 19:44 Post subject: VPN and DNS Server problem
I set up 2 Netgear R7800 with DD-WRT 48567, a primary router and a wired secondary router as switch/WAP. Both run a VAP with an OpenVPN client.
After some trouble everything worked fine until I noticed that some services/webservices did not work on the primary WLAN (not that going through the VPN), e.g. Netflix, Amazon.
The probelm seems to be the using DNSmasq as local DNS server?! When disabling DNSMasq for DNS the above mentioned services work fine but I am unable to connect to OpenVPN on the secondary router.
I tried several solutions without success unfortunatly.
Have you had similar problems? Any DNSmasq workaround?
Joined: 18 Mar 2014 Posts: 12887 Location: Netherlands
Posted: Tue Apr 19, 2022 20:04 Post subject:
First a question, why are you using two vpn clients?
With one client with Policy Based Routing you can perhaps do the same?
Now on to your problem, Netflix, Amazon and the likes check your ip adress and adress of your dns server and if those are not the same they will block access.
Have a look in the client setup guide for the right DNS settings.
As you do not specify your setup I cannot give more to the point advice, but you might need Split DNS.
1. I'll have to take a closer look to PBR, set up a WAP to extend WLAN coverage and thouht the easiest way was to set up a VPN on that router too. Maybe there is a way to route my 2 VAP via br1 to the VPN on the primary router?
2. What is confusing me is that I get blocked when using the physical WLAN via br0 and not when using VPN via two VAP on br1 where I added a PBR rule "iif br1".