Passive FTP and NAT Configuration Temporary Workaround ?

Overview

cPanel & WHM’s implementation of PureFTP and ProFTPd causes an issue on NAT-configured networks on cPanel & WHM version 64 and older. This issue prevents Passive FTP connections to other IP addresses on the server, and connections via domains that resolve to other IP addresses.

Warning:
The following workaround is a temporary fix for NAT-configured servers on cPanel & WHM version 64 and older. The next time you reconfigure the FTP server, the system will automatically re-add the ForcePassiveIP or MasqueradeAddress settings to the configuration file.

Workaround

In order to work around this limitation, perform the following steps:

  1. Follow the existing procedure in the How to Enable FTP Passive Mode document to configure Passive FTP on a NAT-configured network.
  2. Remove the ForcePassiveIP setting from the /etc/pure-ftpd.conf file or the MasqueradeAddress settings from the /etc/proftpd.conf file.
  3. Restart your FTP server.

You should be able to connect to all FTP-enabled domains on the server via a Passive FTP session.

Important:

NAT configurations are commonly associated with secure environments. Because of this, we strongly recommend that you use cPanel’s

Web Disk feature (cPanel >> Home >> Files >> Web Disk) instead of FTP for file transfers. Unlike FTP, Web Disk encrypts usernames and passwords, and it transfers files over secure connections.

  • FTP, NAT, FTP Configuration, NAT Configuration
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Configure Your SFTP Client ?

Overview This document provides the information to connect to your cPanel account via SFTP (SSH...

How to Deny FTP Access ?

Overview If the /etc/ftpusers file exists on your server, cPanel & WHM denies FTP access to...

How to Edit FTP Server Configuration from the Command Line?

Overview This document explains how to manually edit the FTP server’s configuration from the...

How to Enable FTP Passive Mode ?

Overview This document explains how to use the active or passive mode to connect to a File...

How to Restore Missing FTP Interfaces in cPanel ?

Overview Warning: This document describes an unsupported workaround. We do not guarantee that...