pure-ftpd possible NAT problem

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

  1. JESUSSAVES

    JESUSSAVES New Member

    Hi,

    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 96.227.61.7 which is a static ip address.
    Shall I just add it to the end of this command, like
    Code:
    /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 96.227.61.7
    Or does it recall state so that I just need to
    Code:
    /usr/sbin/pure-ftpd-mysql-virtualchroot -P 96.227.61.7
    ?

    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 3.0.5.3.

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

    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 "96.227.61.7" > 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