What's new

PROBLEM, DNS Director AdGuard + VPN Wireguard

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

atorcha

Occasional Visitor
Hello, I have an AX88U-Pro and I would like to have the following configuration.

I want to activate the Wireguard VPN server for certain devices (iphones, macs, PCs, etc.) And I also want to have ADGUARD Family secure DNS for all devices except two.

I am configuring DNS in WAN tab

1719086790843.png


1719086874035.png


Then I add the exception in the VPN Director tab

But All browsing goes through the first DNS (adguard) I cannot redirect to another DNS server
 
Last edited:
If I use wireguard the rule of DNS Director doesn’t work,

This is my settings:


1719128939879.png



1719129008128.png


1719129061303.png



1719129128888.png






1719129164546.png
 
Last edited:
Add information: With Instant guard, DNS Director works good, the problem is with Wireguard. But Instant guard for PC or iMac doesnt exist, only devices
 
If I use wireguard the rule of DNS Director doesn’t work,
Last time I checked DNSDirector was only for lan devices. As it's based on mac-addresses it wouldnt work for wireguard.

Doesn't it work to change DNS in Wireguard client app?
 
Last time I checked DNSDirector was only for lan devices. As it's based on mac-addresses it wouldnt work for wireguard.

Doesn't it work to change DNS in Wireguard client app?i

I config in client wireguard my ip router and it doesn’t work.
 
I config in client wireguard my ip router and it doesn’t work.
Dnsdirector re-directs dns requests coming from your lan. Requests from wg server clients will not be. Pointing your wg server client to your router will only mean it will come into your router dns forwarder. Which means probably wan dns service. If that is not correct what dns service do you get?

If you want wg server clients to use I.e Adguard dns you use the wg app on that client and change dns to I.e 94.140.14.14 or whatever dns service you would like. There is no way that I know of to do this on the router gui.
 
Last edited:
Maybe anyone can add more information about that…
Well, if I look at the firewall rules DNSDirector creates they are only applied for br+ interface devices. That would be your lan and guest wifi.

Further firewall rules uses devices mac address to redirect specific mac addresses to selected dns service.

When connecting into your router via Wireguard, you won't be a part of lan (br+) instead you would be on a standalone interface (wgs1) that have access to lan.

So if you take your device outside of your lan and connect into your router via Wireguard, your router will not recognize it as the same device. It will not be on the same interface and it will not use the same mac address. Due to this, it will no longer fall under DNSDirector rules.

When you generate the client config and scan the qrcode (or import the file) to your client Wireguard include a DNS entry which tills the client which dns service they should use when connected. It's usually set to the router itself. Problem is that since DNSDirector doesn't intercept these they will go to your router dnsforwarder (dnsmasq) which gets dns from wan dhcp (or if you user specified it)

Normally you can change this in the client wireguard app. I know on Android I can click on an imported tunnel to view info about it, and from there I can also edit the tunnel (pen-icon). Here there is a DNS field, pointing to my router. You could put whatever dns service you would like here. Save, exit and start the tunnel. Your change will be persistent.

I imagine it's similar on i.e windows and other.

If you can't edit the tunnel on your client app, instead of scanning the qrcode, use the option to obtain config file instead. Before importing the config, edit it with I.e notepad and change the DNS = to point to whatever dns you would like your device to use. Save the file and then import it to your client.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top