Block Google DNS - Traffic rules not working

Hey there, I'm having issues with a rule I'm trying to create... hopefully somebody can chime in to help me resolve it

I have my router setup with a WireGuard interface for my streaming devices using VPN Policy Routing.

I'm trying to create a new firewall rule to block Google's DNS, I reboot the router and I'm still able to ping 8.8.8.8

Also, my main modem is on bridge mode and the WAN interface is configured for PPPoE (in case it changes anything)

Any thoughts are much appreciated!

Put this into you custom firewall rule box (Network tab> Firewall >Custom Rules tab) and save:

iptables -I FORWARD --destination 8.8.8.8 -j REJECT
iptables -I FORWARD --destination 8.8.4.4 -j REJECT
iptables -I FORWARD --destination 2001:4860:4860::8888 -j REJECT
iptables -I FORWARD --destination 2001:4860:4860::8844 -j REJECT
    
    

It's better to intercept DNS than block it:
https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns

1 Like