ASAT
Senior Member
I run three instances of dnscrypt-proxy on the Asuswrt-Merlin router, on ports 60053-60055, and I want to use it with ipset-dns. However, ipset-dns does not allow the user to specify the port number of the upstream DNS resolver.
How to do it:
How to do it:
Code:
# start ipset-dns with a bogus upstream DNS resolver
ipset-dns Win10tracking Win10tracking 1919 1.1.1.1
# redirect the bogus upstream DNS resolver to dnscrypt-proxy
iptables -t nat -I OUTPUT -d 1.1.1.1 -p tcp --dport 53 -j REDIRECT --to-ports 60053-60055
iptables -t nat -I OUTPUT -d 1.1.1.1 -p udp --dport 53 -j REDIRECT --to-ports 60053-60055
Last edited: