Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    3

    Question Feature that blocks outgoing port 25

    Hello,

    I noticed that my server wasnt sending mails, and I started to check the possible causes.

    I observed that there was a in the chain output from iptables blocking the destination port 25. I guess that this is part of something to avoid my server becoming a spammer, and probably this is an option that I enable and now it's not working fine.

    For keep services working, i removed this rule from iptables, but I would like to know where should I fix it.

    thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Do you run a firewall script such as apf or csf?

    Do you have the default redhat/centos firewall? (did you ever disable it?)

    What datacenter are you in? There is a possibility they install a custom one on your server.

    /etc/sysconfig/iptables

    may give you some idea of what is going on and how you can fix it.

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    3

    Default

    Hello eth00, thanks for the input.

    Answering your questions:
    > I'm not running any custom firewall on this machine, just the default setup of cpanel.

    > Centos firewall is disabled

    > I'm on my own datacenter, the machines are provisioned by me.

    My firewall device is over a separated hardware.

    I think that after office hours, i will make a test and try a reboot to check if the rule will be on the firewall again.

    Those where my only rules in the chain output:

    Code:
    pkts bytes target     prot opt in     out     source               destination         
    ACCEPT     tcp  --  *      *       0.0.0.0/0            127.0.0.1           tcp dpt:25 
    REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:25 reject-with icmp-port-unreachable 
    acctboth   all  --  *      *       0.0.0.0/0            0.0.0.0/0
    (I removed the second line since i dont know what is it and was causing some problems)

    Thanks

Similar Threads & Tags
Similar threads

  1. Apple Macs trigger IP blocks - port 587
    By BigLebowski in forum E-mail Discussions
    Replies: 3
    Last Post: 06-05-2010, 11:37 PM
  2. Apple Macs trigger IP blocks - port 587
    By BigLebowski in forum Security
    Replies: 0
    Last Post: 06-04-2010, 06:54 AM
  3. Outgoing SSH Port
    By Ebart in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-24-2006, 10:09 AM
  4. Cpanel blocks port 26.
    By marek in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-24-2005, 11:25 AM
  5. Outgoing SMTP Limits -- New CP 6 Feature
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-17-2003, 08:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube