AnthonyArmato
Senior Member
My firewall-start file is also being deleted after rebooting the router it seems.
iptables -A OUTPUT -o br0 -d IP-HERE -j REJECT
But have now changed to REJECT.iptables -i br0 -A INPUT -s IP-HERE -j DROP
And what about INPUT vs OUTPUT ? Does that make any difference ?
So I would need use INPUT to block connections to IPs coming in from my modem, correct ?
OUTPUT would be used to block ME trying to connect to a specified IP ?
Does this method not work with blocking website based ads ?
Well yeah. I'm asking because I added all of doubleclick's domains that I could find listed yet I can still see the ads loading on webpages when I disable AdBlock. And the ads point to domain names I've listed to reject.
Specifically this one: iptables -o br0 -A OUTPUT -s ad-g.doubleclick.net -j REJECT
Any suggestions would be greatly appreciated.
So I need iptables -o eth0 -A OUTPUT -s ad-g.doubleclick.net -j REJECT ?
We use essential cookies to make this site work, and optional cookies to enhance your experience.