Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member dansgalaxy's Avatar
    Join Date
    Jan 2007
    Location
    Reading, UK
    Posts
    91
    cPanel/Enkompass Access Level

    Root Administrator

    Default Passive FTP for cpbackup not working

    I have got some FTP backup with a new server, but can't get it working, as soon as it enters Passive it chokes.

    It's running on a custom port, all info is fine.

    Server running CentOS & CSF. It works when firewall is disabled, so that's obviously the issue.

    How can I set it up so Passive FTP OUT works with the firewall?

  2. #2
    cPanel Staff
    Join Date
    Apr 2011
    Location
    Houston, TX
    Posts
    26
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Passive FTP for cpbackup not working

    Hey Dan, there are a couple settings you'll need to change to allow Passive FTP.

    First, you'll need to tell PureFTPd and ProFTP what ports to use for Passive FTP.

    for PureFTPd edit /etc/pure-ftpd.conf, uncomment the following line, and set the port range you'll be using.
    # PassivePortRange 30000 35000

    for ProFTP, do the same for /etc/proftpd.conf.
    # PassivePorts 30000 35000

    Then, you'll need to tell CSF to allow that port range through your firewall.

    edit /etc/csf/csf.conf and add the range as StartingPort:EndingPort, like the following.
    # Allow incoming TCP ports
    TCP_IN = "20,21,22,25,53,80,110,30000:35000"

    Finally, you'll need to restart the services.

    service csf restart
    service pureftpd restart
    or
    service proftpd restart

  3. #3
    Member dansgalaxy's Avatar
    Join Date
    Jan 2007
    Location
    Reading, UK
    Posts
    91
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Passive FTP for cpbackup not working

    Done, not working.

    Note the problem is connecting FROM my server - via cpbackup - to the FTP server (which I have no control over).

Similar Threads & Tags
Similar threads

  1. FTP Passive Mode not working
    By hicks8 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-10-2011, 12:30 PM
  2. WHM Backup Via FTP Not Working - Password not saved in cpbackup.conf
    By saratoga in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-16-2009, 10:20 AM
  3. Replies: 1
    Last Post: 11-12-2008, 11:06 AM
  4. Ftp not entring passive mode
    By mahmood in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-31-2008, 09:02 PM
  5. FTP Passive mode
    By minalia in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-11-2003, 04:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube