1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

newb: wrt54 iptables question

Discussion in 'Sveasoft Firmware' started by protoc0l, Dec 27, 2004.

  1. protoc0l

    protoc0l Network Guru Member

    Hi all,

    I just got my WRT54G and was trying some small tests with iptables to see if I could block a website, but it didn't seem to work:

    iptables -I OUTPUT 1 -d <ip> -j DROP

    but I was still able to browse the site from my pc connected to my linksys.

    Is there some sort of refresh I need to do to get my rule to work?

  2. Samioul

    Samioul Network Guru Member

    iptables -I FORWARD -d <website's ip> -j DROP
  3. protoc0l

    protoc0l Network Guru Member


    Thanks for the help, that worked!

    I found out on the net that my idea of importing PeerGardian blacklists into iptables might not be realistic, since it has 10,000 rules, and from what I've heard, iptables is bad for that many.

    I'm looking into nf-HiPAC http://www.hipac.org/index_news.htm to see if its possible to run on the router, but I'm a newbie with linux...


Share This Page