Joined: 28 Apr 2011
|Posted: Wed Sep 10, 2014 7:37 Post subject: Access restriction - Block domain access using iptables
I'm trying to block access to a domain: hi5.com using the Access Restriction function but any option are working, URL or Keyword.
Another way is use iptable to block access using the command below, but it's not working.
iptables -I FORWARD 1 -p tcp -d hi5.com --dport 80 -j REJECT
iptables -I FORWARD 2 -p tcp -d www.hi5.com --dport 80 -j REJECT
I have a Buffalo Firmware: DD-WRT v24SP2-MULTI (07/09/12) std
Anyone could help me. What I'm doing wrong?
Thanks for any help