Hello, I'm using the AI PROTECTION DNS FILTERING option, to use Open DNS Family.
By default this rule is created:
Unfortunately my ISP also does DNS FILTERING, so I need to change the traffic from port 53 to port 5353 to skip its filtering (I've tried and it works).
I'd like to insert/append an iptables rule somewhere, that forces to use the port 5353 if 208.67.222.123 is used (without touching that line in the DNSFILTER chain).
I've tried this but it doesn't work
Any help?
thanks
By default this rule is created:
Code:
Chain DNSFILTER (2 references)
DNAT all -- anywhere anywhere to:208.67.222.123
Unfortunately my ISP also does DNS FILTERING, so I need to change the traffic from port 53 to port 5353 to skip its filtering (I've tried and it works).
I'd like to insert/append an iptables rule somewhere, that forces to use the port 5353 if 208.67.222.123 is used (without touching that line in the DNSFILTER chain).
I've tried this but it doesn't work
Code:
iptables -t nat -A OUTPUT -p udp -d 208.67.222.123 --dport 53 -j DNAT --to-destination :5353
thanks