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.

a way to block a certain IP

Discussion in 'General Discussion' started by netvistun, May 11, 2005.

  1. netvistun

    netvistun Active Member

    Joined:
    Mar 10, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I need to block all mail coming from a certain IP address to a certain domain. How do I do that?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    do the comand below in ssh

    /sbin/iptables -I INPUT -s <IP> -j DROP
     
Loading...

Share This Page