Sean Rhodes
Regular Contributor
I see a lot of posts regarding VPN Director, but all seem more about configuration, but none about VPN Director DNS Leaks by failing to route DNS through VPN tunnel, or ignoring table routing entries.
I have been having constant DNS leaks, and found the WikI, although a great source for understanding, is missing several subtle points about what VPN Director does and doesn't do. It took me a while to fix this, so I thought I would comment here in case anyone else has a similar issue, or can offer a better solution than what I found.
My current setup is:
Asus RT-AX86U
Asus-Merlin v386.5_2 firmware
Using NordVPN on OVPN 1 with VPN Director selective routing.
Firstly, I performed a Nuclear Reset and Minimum Manual Configuration, to exclude entware and any of the addons (man do I see the difference now Diversion isn't running, that's definitely going back on).
I first setup OVPN1 with Nordvpn using a UK server as follows:
1. Accept DNS Configuration - Strict
2. Redirect internet traffic through tunnel - yes (to all)
3. adding NordVPN servers in custom configuration
I had these previously setup in my WAN DNS settings, but I was concerned these were being bypassed in my previous setting before factory defaulting.
The above setup works and using the DNSleaktest dot com extended test verified I had no DNS leaks.
Now the problem part, following the wiki and setting up selective routing:
I setup my Mac and AppleTV under VPN Director
AppleTV 10.0.1.60 0.0.0.0 OVPN1
iMac 10.0.1.80 0.0.0.0 OVPN1
Then I setup my VPN client as above, changing only the internet traffic to VPN Director (policy rules) and re-enabled the VPN
I checked for DNS leaks and instantly it is leaking, DNSleaktest showed it was only connecting to 1 server, but a US server, so the tunnel was Geo-blocked.
I tried switching to exclusive, that was worse, now DNSleaktest showed multiple servers.
I added the DNS servers back on the WAN page, but no difference, still leaking.
I re-read the Wiki, and decided to try a couple of changes to see if I could somehow force the DNS.
Under VPN Director, I added a new rule for my router:
Router 10.0.1.1 0.0.0.0 WAN
Under LAN, I enabled DNSFilter, I then added the NordVPN DNS to DNS1 and DNS2 and added my AppleTV and Mac and set to one of the DNS.
Selective routing is now working, finally.
I then used my Windows PC and DNSleak tested that to ensure it wasn't going through the tunnel and it was still fine using my local ISP DNS.
It seems, so far that this is the only way to get selective routing to work without a DNS leak. When I read the Wiki and multiple other posts, the assumption is selective routing just works. It doesn't, not correctly at least.
I would be interested to know if this is actually the firmware that's broken or not, and if anyone else had similar issues and managed to fix the DNS leak
I have been having constant DNS leaks, and found the WikI, although a great source for understanding, is missing several subtle points about what VPN Director does and doesn't do. It took me a while to fix this, so I thought I would comment here in case anyone else has a similar issue, or can offer a better solution than what I found.
My current setup is:
Asus RT-AX86U
Asus-Merlin v386.5_2 firmware
Using NordVPN on OVPN 1 with VPN Director selective routing.
Firstly, I performed a Nuclear Reset and Minimum Manual Configuration, to exclude entware and any of the addons (man do I see the difference now Diversion isn't running, that's definitely going back on).
I first setup OVPN1 with Nordvpn using a UK server as follows:
1. Accept DNS Configuration - Strict
2. Redirect internet traffic through tunnel - yes (to all)
3. adding NordVPN servers in custom configuration
Code:
dhcp-option DNS 103.86.96.100
dhcp-option DNS 103.86.99.100
push "dhcp-option DNS 103.86.96.100"
push "dhcp-option DNS 103.86.99.100"
The above setup works and using the DNSleaktest dot com extended test verified I had no DNS leaks.
Now the problem part, following the wiki and setting up selective routing:
I setup my Mac and AppleTV under VPN Director
AppleTV 10.0.1.60 0.0.0.0 OVPN1
iMac 10.0.1.80 0.0.0.0 OVPN1
Then I setup my VPN client as above, changing only the internet traffic to VPN Director (policy rules) and re-enabled the VPN
I checked for DNS leaks and instantly it is leaking, DNSleaktest showed it was only connecting to 1 server, but a US server, so the tunnel was Geo-blocked.
I tried switching to exclusive, that was worse, now DNSleaktest showed multiple servers.
I added the DNS servers back on the WAN page, but no difference, still leaking.
I re-read the Wiki, and decided to try a couple of changes to see if I could somehow force the DNS.
Under VPN Director, I added a new rule for my router:
Router 10.0.1.1 0.0.0.0 WAN
Under LAN, I enabled DNSFilter, I then added the NordVPN DNS to DNS1 and DNS2 and added my AppleTV and Mac and set to one of the DNS.
Selective routing is now working, finally.
I then used my Windows PC and DNSleak tested that to ensure it wasn't going through the tunnel and it was still fine using my local ISP DNS.
It seems, so far that this is the only way to get selective routing to work without a DNS leak. When I read the Wiki and multiple other posts, the assumption is selective routing just works. It doesn't, not correctly at least.
I would be interested to know if this is actually the firmware that's broken or not, and if anyone else had similar issues and managed to fix the DNS leak