pure-ftpd possible NAT problem

Discussion in 'Server Operation' started by JESUSSAVES, Feb 13, 2014.


    JESUSSAVES New Member


    Because my Filezilla client gives me this error when trying to connect passive, explicit tls I want to change my pure-ftpd configuration and add -P which is a static ip address.
    Shall I just add it to the end of this command, like
    /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -H -O clf:/var/log/pure-ftpd/transfer.log -Y 1 -D -u 1000 -A -E -b -8 UTF-8 -B -P
    Or does it recall state so that I just need to
    /usr/sbin/pure-ftpd-mysql-virtualchroot -P

    Also do i need to stop the deamon /etc/init.d/pure-ftpd-mysql stop
    or should i kill the process pkill pure-ftpd before issuing new configuration?

    If that doesn't work I'lll also try -N.

    I have a Perfect Server Squeeze converted to Wheezy with ISPConfig

    Thank you in advance for any assistance.
    Last edited: Feb 13, 2014

    JESUSSAVES New Member

    Great, reconfigure pure-ftpd worked!

    Had to add both -P (for my external IP address) and -p for a passive port range. Also had to open same port range in router and point to my ftp server box.

    Configuration constants can be found in /usr/sbin/pure-ftp-wrapper. These are added to /etc/pure-ftpd/conf, like echo "" > PassivePortRange

    When you stop and start the pure-ftpd-mysql daemon you will see your new configuration.

    Now TLS works both inside and outside my LAN.
    Last edited: Feb 19, 2014

Share This Page