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 to see if its possible to run on the router, but I'm a newbie with linux...

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice