Access restriction - Block domain access using iptables

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
ronaldol
DD-WRT User


Joined: 28 Apr 2011
Posts: 60

PostPosted: Wed Sep 10, 2014 7:37    Post subject: Access restriction - Block domain access using iptables Reply with quote
Hi,

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
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum