Can i block an incoming ip adress with wrt54g

Discussion in 'HyperWRT Firmware' started by anthros, Jan 24, 2005.

  1. anthros

    anthros Network Guru Member

    read through the forum, and couldnt get it to work, best advice i found was this:

    iptables -I FORWARD -d <> -j drop

    So im supposed to type that into the firewall script window?
    Anyways i tried it, doesnt work. Is there any way to block an adress that is constantly pinging my open ports ? An example would be greatly appreciated.
  2. swinn

    swinn Network Guru Member

    Try the following line in your firewall script:

    iptables -A INPUT -s -j drop

    where is the IP address you want to block.
  3. anthros

    anthros Network Guru Member

    Thank you for the advice, however it did not work either, the packets still pass through the firewall :?

    i punched

    iptables -A INPUT -s -j drop

    into the firewall window and clicked save, hope that is the correct way to go about with this thing. (xxx substituting numbers). It should be working as far as i can telll.

    Its no biggie, but it bugs me to have to run a software firewall in addition to the otherwise functional WRT54G firewall.
  4. anthros

    anthros Network Guru Member

    Ok, im giving up on Hyper for now and installing Satori.
  5. mutrax

    mutrax Network Guru Member

  6. anthros

    anthros Network Guru Member

    OK, finally figured it out

    and in case someone else´s wondering heres how i did it:

    iptables -I FORWARD -s -d -j DROP

  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