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

    Exclamation APF blocks FTP and Mail

    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?
    Last edited by Metalp3n; 09-25-2005 at 02:10 AM. Reason: Saw that the cPanel Update script didnt work either

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member gupi's Avatar
    Join Date
    Apr 2004
    Posts
    125

    Default

    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.
    Stefaniu -gupi- Criste
    Hangar Hosting - a safe place for your Romanian online business

  4. #4
    Registered User
    Join Date
    Oct 2004
    Posts
    3

    Default

    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. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    3

    Default

    Nevermind i fixed the errors checking that I had all the ports that where displayed at http://www.webhostingtalk.com/showth...hreadid=284575.

Similar Threads & Tags
Similar threads

  1. Amount of files by FTP firewall CSF blocks my IP
    By zimbahost in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 05-17-2010, 02:52 PM
  2. APF blocks my IP too ?!
    By organik81 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-30-2007, 07:30 AM
  3. CSF firewall blocks the ftp.
    By WhiteBear in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-02-2006, 10:00 AM
  4. E-mail filtering blocks all e-mail
    By bartdc in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-08-2006, 07:49 AM
  5. APF Blocks All
    By emericklaw in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-13-2006, 10:13 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube