Pure-FTPd servers ForcePassiveIP issue
Hello friend
About a year ago I changed IP addresses on my server (public & local) NAT mode.
Once in a while I have to edit the '/etc/pure-ftpd.conf' and change the 'ForcePassiveIP' value from the old ip to the realy current ip.
Why the file rewrites itself and from where the wrong IP address was taken? (that ip previously used by the server)
Thanks
-
Hello, You will need to use the instructions documented on the following URL to ensure changes to your Pure-FTP configuration are preserved: FTP FAQ - Documentation - cPanel Documentation Thank you. 0 -
Thanks! Another question in the same context What is the difference between these files and where should I set up settings? (Please short explanation to better understand the system) /var/cpanel/conf/pureftpd/local /var/cpanel/conf/pureftpd/main /etc/pure-ftpd.conf 0 -
Hi, I'll give you an explanation about this: The pureFTP template is located in /var/cpanel/conf/pureftpd/main, and is set up YAML style similar to most of cPanel"s internal configuration files. The settings in the template correlate directly to the same options in /etc/pure-ftpd.conf, but it"s better to edit the template since cPanel tends to prefer template-based configuration to regenerate (overwrite) config files. You can change an option in the FTP configuration file and run /scripts/ftpup --force, and the template will add the changed values to the template as long as they don"t already exist. If they do, the template will change the specified option in pure-ftpd.conf to match its own value. 0 -
I'm sure that's what it was. I checked again now and everything is fine. Thank you 0 -
Hi @diWhile1, I've opened internal case DOC-9815 with our Documentation Team to ensure the FTP FAQ document is updated to use two hyphens (--) instead of a hyphen and an em dash (-") for the update commands. Thank you. 0 -
Hello, The document is now updated to reflect the correct syntax. Thanks! 0
Please sign in to leave a comment.
Comments
8 comments