Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21222

Beginner Basics • Re: Force all LAN devices to use Adguard local DNS running on Docker on the same Router

$
0
0
This will work on all devices using static DNS on their pC etc.......
It will NOT work if you use some sort of proxy or vpn bypass ( perhaps your browser has one built-in??). The ability to force users is predicated on the off chance they put in something NOT sophisticated such as just putting in 8.8.8.8 in their DNS setting on PC. If they run something else ( more powerful ) , regardless of what you do, they will bypass adguard.
Hello,

Thank you very much dear anav for the guidance and help to resolve this issue.

After reviewing my router's configuration, I was able to solve the problem by testing in GNS3 by adding a single rule to accept UDP traffic on port 53 before the 2 routing rules to ISP1 and ISP2.

/ip firewall mangle
add action=accept chain=prerouting comment="ACCEPT DNS TRAFFIC" dst-port=53 in-interface-list=!WAN protocol=udp

With that rule everything was perfect. Anyway I don't know if it is the best practice to solve this problem

I apologize for my English as it is not my native language.

Thank you very much
can you please share your last config on ip-firewall-nat and -mangle again ?
i am confused too because i still expericing the same issue when i set dns staticaly on any device to other than adguard home ip, it wont redirect to adguard home as dns server, it uses those static dns.

thanks before

Statistics: Posted by abdurraufrafli — Thu Feb 22, 2024 4:46 pm



Viewing all articles
Browse latest Browse all 21222

Trending Articles