Skip to main content

PureFTP Resets Passive Ports & IP Address

Comments

7 comments

  • cPanelMichael
    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.
    0
  • Henry Aspden
    Hello, You will need to follow the instructions documented on the URL below to ensure the changes are preserved:
    0
  • Adam Reece | WebBox
    This still happens today. This range needs to stick due to firewall considerations. The page linked to no longer exists, how can we get "PassivePortRange" to stick to what we need it to today? This should not be changing without our consent.
    0
  • cPAdminsMichael
    This still happens today. This range needs to stick due to firewall considerations. The page linked to no longer exists, how can we get "PassivePortRange" to stick to what we need it to today? This should not be changing without our consent.

    Hi, to make changes to your FTP configuration, you need to change the local file as described in the docs:
    0
  • cPRex Jurassic Moderator
    As noted, it's not recommended to edit the /etc/pure-ftpd.conf file directly, and you should instead use the steps outlined in the docs above.
    0
  • Adam Reece | WebBox
    Thanks for the advice Michael + Rex, I'll give that a go on all our WHM servers. To be fair it's not often that the config gets overwritten, and apparently only one of our 100+ clients actually use FTP. (Everyone else appears to use SCP/SFTP/SSHFS.) What we won't be doing is just allowing the default range through the firewall simply because of the vastness of such a range. 20k ports is rather excessive!
    0
  • cPRex Jurassic Moderator
    You can limit the port range that pure-ftpd uses through this process, and then just open that range in the firewall. I've had my machine limited to 500 ports for years with no ill effects.
    0

Please sign in to leave a comment.