Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

IPTABLES filter question

Discussion in 'General Discussion' started by wa4fat, Jan 17, 2005.

  1. wa4fat

    wa4fat Well-Known Member

    Dec 30, 2001
    Likes Received:
    Trophy Points:
    Thanks in advance to any IPTABLES gurus out there who may be able to help me!

    On one of my servers, running IPTABLES version 1.2.8, I could enter the following
    rule to block all incoming mail from the IP block:

    iptables -A INPUT -i eth0 -p tcp -s --destination-port 25 -j DROP

    ... and the rule set would work flawlessly, dropping incoming packets headed to this server's
    port 25.

    On a newer server, with a more recent version of IPTABLES (1.2.9), this syntax is
    apparently not supported, as packets from 200.whatever flow into the system

    My clients on this particular machine have no need of incoming email from this region of South America, and have asked for a blanket filter.

    I'd love to be able to oblige them, and need a bit of help with regard to the new syntax that is evidently called for with IPTABLES 1.2.9.

    A big THANK YOU for any thoughts or advice.

    // Bill

Share This Page

  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