SOLVED PureFTP Resets Passive Ports & IP Address

Henry Aspden

Member
Nov 2, 2015
7
2
3
Leeds, UK
cPanel Access Level
Root Administrator
So I keep going in to change /etc/pure-ftpd.conf and replacing the passive ports and FTP address on lines

Code:
PassivePortRange 30000 50000



# Force an IP address in PASV/EPSV/SPSV replies. - for NAT.
# Symbolic host names are also accepted for gateways with dynamic IP
# addresses.

ForcePassiveIP IP.IP.IP.IP(where this is my public IP)
However, every time I update a pureFTP setting through WHM, this resets itself, also whenever the server does an update this resets itself back to the default...

Any thoughts on how to change it so that it will always stick to my ports and IP after every update etc? Clearly the preset data is stored somewhere...

Thanks
 

Henry Aspden

Member
Nov 2, 2015
7
2
3
Leeds, UK
cPanel Access Level
Root Administrator
Hello,

You will need to follow the instructions documented on the URL below to ensure the changes are preserved:

FTP FAQ - Version 68 Documentation - cPanel Documentation

Thank you.
Thanks cPanelMichael that's really helpful !!! I tried searching for this and everyone talks about just updating the pure-ftpd.conf file so I never even thought to check the documentation as I assumed it must not be in there. Thanks so much for your help and sorry for wasting some time here

Regards

Henry
 
  • Like
Reactions: cPanelMichael