Blocking IP address's

Discussion in 'DD-WRT Firmware' started by DTSMaster, Apr 14, 2007.

  1. DTSMaster

    DTSMaster Guest

    I have a question reguarding the DD-WRT firmware. I am running a linksys WRT54GS v1.1 and I was curious if I could set up wan ip blocking so it stops unwanted access at the router itself instead of having to set up a software firewall to do this type of blocking?
  2. u3gyxap

    u3gyxap Network Guru Member

    iptables -I FORWARD -d -j DROP
    This will stop the clients behind the router accessing that IP, but not the router itself (which is exactly what you need).
  3. ifican

    ifican Network Guru Member

    The original question sounds as if its a request incoming to the wan interface as the reference appears to be router then machine. If that is the case unless you have a port forwarded it should be dropped by default. If you have a port forwarded and you want to block a specific ip then thats another story.
  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