Thanks to this forum's help a while back, I've got a janky little setup on my router to block DoH providers using the router's DNS filter settings and a firewall-start script. The script looks like this:
Now it's been working for every DNS on the list, except Cloudflare's DNS: 1.1.1.1 and 1.0.0.1. I can't figure out why.
Any ideas on how to fix this or an alternate method to block Cloudflare's DNS? I've tried the putting the DNS under the LAN/Route tab in settings, but had no luck.
Thanks in advance for any help or suggestions!
Bash:
#!/bin/sh
touch /tmp/000firewall-start
# Repeat for each DOH provider
iptables -I FORWARD -s x.x.x.x -j DROP
iptables -I FORWARD -d x.x.x.x -j DROP
...
touch /tmp/000firewall-stop
Now it's been working for every DNS on the list, except Cloudflare's DNS: 1.1.1.1 and 1.0.0.1. I can't figure out why.
Any ideas on how to fix this or an alternate method to block Cloudflare's DNS? I've tried the putting the DNS under the LAN/Route tab in settings, but had no luck.
Thanks in advance for any help or suggestions!