[CPANEL-22169] Pure-FTPd: Preserve disabled ForcePassiveIP when NAT is active
I have followed the steps to setup Passive FTP for pure-ftpd How to Enable FTP Passive Mode - cPanel Knowledge Base - cPanel Documentation
After running the setup script I notice this line
Updating FTP related RPMs
warn [build_ftp_conf] Invalid ForcePassiveIP setting, switching to default of xxx.xxx.xxx.xxx
However as per the guide my "local" file is setup as follows
root [~]# cd /var/cpanel/conf/pureftpd
root [/var/cpanel/conf/pureftpd]# cat local
ForcePassiveIP: ~
PassivePortRange: 49152 65534
It seems to error on the ~ and set the default IP address from /var/cpanel/conf/pureftpd/main
-
Unless your server is NAT'd, simply comment out the ForcePassiveIP directive rather than trying to set it with the ~ # ForcePassiveIP: 192.168.0.1 PassivePortRange: 49152 65534 I know what the instructions say, but I've never ran ForcePassiveIP: ~ . If the box isn't NATd, I just keep that directive commented out. Mike 0
Please sign in to leave a comment.
Comments
3 comments