Passive PureFTP

Discussion in 'Installation/Configuration' started by oxygen, Apr 30, 2018.

  1. oxygen

    oxygen Member

    Hello.
    Finally moved all my websites to 3.1, emails too. SSL on web working very well. I used Wordpress backup plugin for web moving (all my websites uses Wordpress).
    Question about SSL on FTP.
    Plain mode working as should.
    When i trying use TLS i getting answer:

    Status: Connecting to 85.255.x.x:21...

    Status: Connection established, waiting for welcome message...

    Status: Initializing TLS...

    Status: Verifying certificate...

    Status: TLS connection established.

    Status: Logged in

    Status: Retrieving directory listing...

    Status: Server sent passive reply with unroutable address. Passive mode failed.

    Command: PORT 192,168,0,101,211,219

    Response: 500 I won't open a connection to 192.168.0.101 (only to 78.58.x.x)

    Error: Failed to retrieve directory listing

    78.58.x.x is my IP, from where i'm trying to connect.
    Server local IP is 192.168.0.150, rooter IP is 192.168.0.1.
    All mods as here (ports 40110-40210 in rooter forwarded to server local IP too):
    https://www.faqforge.com/linux/cont...ange-in-pure-ftpd-on-denian-and-ubuntu-linux/

    What i should do next?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Set the passive IP (your external IP):

    echo "EXTERNAL_IP_HERE" > /etc/pure-ftpd/conf/ForcePassiveIP

    replace IP of course, and restart pure-ftpd-mysql.
     
    oxygen likes this.
  3. oxygen

    oxygen Member

    You are God.

    Connecting to 85.255.x.x:21...

    Status: Connection established, waiting for welcome message...

    Status: Initializing TLS...

    Status: Verifying certificate...

    Status: TLS connection established.

    Status: Logged in

    Status: Retrieving directory listing...

    Status: Directory listing of "/" successful
     

Share This Page