The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Block an IP

Discussion in 'General Discussion' started by gopal, Jul 3, 2004.

  1. gopal

    gopal Guest

    To successfully block an IP address, the syntax would be:

    # iptables -I INPUT -s IP_ADDRESS_HERE -j DROP

    e.g.:

    # iptables -I INPUT -s 123.123.123.123 -j DROP
     
  2. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Can you post one on how to repair a pinball machine?
     
Loading...

Share This Page