VPN and DNS Server problem

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
kalle_karlsson
DD-WRT Novice


Joined: 21 Jul 2010
Posts: 24

PostPosted: Tue Apr 19, 2022 19:44    Post subject: VPN and DNS Server problem Reply with quote
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?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Tue Apr 19, 2022 20:04    Post subject: Reply with quote
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.

Vpn and DNS settings are discused in the guides, see https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

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.

Have moved this thread to the Advanced Networking forum.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kalle_karlsson
DD-WRT Novice


Joined: 21 Jul 2010
Posts: 24

PostPosted: Wed Apr 20, 2022 18:32    Post subject: Reply with quote
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".
kalle_karlsson
DD-WRT Novice


Joined: 21 Jul 2010
Posts: 24

PostPosted: Wed Apr 20, 2022 19:04    Post subject: Reply with quote
Guess split DNS will solve my problem.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum