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.

APF blocks FTP and Mail

Discussion in 'E-mail Discussions' started by Metalp3n, Sep 25, 2005.

  1. Metalp3n

    Metalp3n Registered

    Joined:
    Oct 18, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Ever since i have installed the latest version of APF firewall on my server i can no longer connect to the FTP server, nor recieve mail. The connections to the FTP server, and the mail server always timeout. In addition I cannot use wget in SSH, nor can I use the cPanel Update script.

    Here is my conf.apf file showing port setup:
    Code:
    # Common ingress (inbound) TCP ports
    IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,2082,2083,2086,2087,2095,2096,3000_3500,6000_7000"
    
    # Common ingress (inbound) UDP ports
    IG_UDP_CPORTS="20,21,53,110"
    
    # Common ICMP (inbound) types
    # 'internals/icmp.types' for type definition; 'all' is wildcard for any
    IG_ICMP_TYPES="3,5,11,0,30,8"
    
    # Egress filtering [0 = Disabled / 1 = Enabled]
    EGF="1"
    
    # Common egress (outbound) TCP ports
    EG_TCP_CPORTS="20,21,22,25,26,27,37,43,53,80,110,113,443,465,873,2089,3306"
    
    # Common egress (outbound) UDP ports
    EG_UDP_CPORTS="20,21,53,123,465,873"
    
    # Common ICMP egress (outbound) types
    # 'internals/icmp.types' for type definition; 'all' is wildcard for any
    EG_ICMP_TYPES="all"
    
    Does anyone have any idea's as to what can be causing this?
     
    #1 Metalp3n, Sep 25, 2005
    Last edited: Sep 25, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Firstly, make sure that you using the very latest APF as version 0.9.5 had bugs in it that caused what you are seeing. If that's not the issue, then you should seek support on the developers forums as it's not a cPanel issue.
     
  3. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    # Common ingress (inbound) TCP ports
    IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,2082,2083,2086,20  87,2095,2096,3000_3500,6000_7000"
    what's that space in ingress port sequence:
    Code:
    ... 2086,20  87,
    ?
    shouldn't be there.
     
  4. Metalp3n

    Metalp3n Registered

    Joined:
    Oct 18, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I am using version 0.9.6 and that space is something i messed up on when posting it on the forums, its not actually there in the conf.apf file.
     
  5. Metalp3n

    Metalp3n Registered

    Joined:
    Oct 18, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page