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 ?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!