pureftp access issues

Discussion in 'Installation/Configuration' started by rajbps, Apr 5, 2016.

  1. rajbps

    rajbps Member

    Hi Team,

    I am a newbie and installed ispconfig 3 on the latest version.
    I created an account as client and created a website and also created logins for the ftp.
    I can connect via putty/telnet locally via the lan on the ftp.
    If i am coming from an external connection then i get the following :

    Status: Resolving address of "name of domain here"
    Status: Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
    Error: Could not connect to server
    Status: Waiting to retry...
    Status: Resolving address of businessparksolutions.co.uk
    Status: Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
    Error: Could not connect to server
    Status: Disconnected from server

    Status: Resolving address of "name of domain here"
    Status: Connecting to X.X.X.X:21...
    Status: Connection established, waiting for welcome message...
    Status: Insecure server, it does not support FTP over TLS.
    Status: Logged in
    Status: Retrieving directory listing...
    Status: Server sent passive reply with unroutable address. Using server address instead.
    Command: MLSD
    Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing
    Status: Disconnected from server
    Status: Resolving address of "name of domain here"
    Status: Connecting to X.X.X.X:21...
    Status: Connection established, waiting for welcome message...
    Status: Insecure server, it does not support FTP over TLS.
    Status: Logged in
    Status: Retrieving directory listing...
    Status: Server sent passive reply with unroutable address. Using server address instead.
    Command: MLSD
    Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing
    Status: Disconnected from server
    Status: Resolving address of "name of domain here"
    Status: Connecting to X.X.X.X:21...
    Status: Connection established, waiting for welcome message...
    Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response: 220-You are user number 3 of 50 allowed.
    Response: 220-Local time is now 11:46. Server port: 21.
    Response: 220-This is a private system - No anonymous login
    Response: 220-IPv6 connections are also welcome on this server.
    Response: 220 You will be disconnected after 15 minutes of inactivity.
    Command: AUTH TLS
    Response: 500 This security scheme is not implemented
    Command: AUTH SSL
    Response: 500 This security scheme is not implemented
    Status: Insecure server, it does not support FTP over TLS.
    Command: USER "username here"
    Response: 331 User "username here" OK. Password required
    Command: PASS ***********
    Response: 230 OK. Current restricted directory is /
    Command: OPTS UTF8 ON
    Response: 200 OK, UTF-8 enabled
    Status: Logged in
    Status: Retrieving directory listing...
    Command: PWD
    Response: 257 "/" is your current location
    Command: TYPE I
    Response: 200 TYPE is now 8-bit binary
    Command: PASV
    Response: 227 Entering Passive Mode (192,168,39,70,150,123)
    Status: Server sent passive reply with unroutable address. Using server address instead.
    Command: MLSD

    can anyone assist to how I can change that to the wan ip please : Response: 227 Entering Passive Mode (192,168,39,70,150,123)

    Regards,

    Raj
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. rajbps

    rajbps Member

    Hi Till,

    Thanks for your reply.

    I have created that file and not i get :

    Status: Insecure server, it does not support FTP over TLS.
    Status: Logged in
    Status: Retrieving directory listing...
    Status: Server sent passive reply with unroutable address. Using server address instead.
    Command: MLSD
    Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing
    Status: Disconnected from server
    Status: Resolving address of "DOMAIN NAME"
    Status: Connecting to X.X.X.X:21...
    Status: Connection established, waiting for welcome message...
    Status: Insecure server, it does not support FTP over TLS.
    Status: Logged in
    Status: Retrieving directory listing...
    Status: Server sent passive reply with unroutable address. Using server address instead.


    I have ispconfig installed on centos7 just in case that makes a difference.

    Regards,

    Raj
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, this makes a difference. on CentOS, you have to configure the passive port IP in the pure-ftpd.conf file directly.
     
  5. rajbps

    rajbps Member

    do you have any instructions by any chance please
     
  6. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    http://www.faqforge.com/linux/contr...ange-in-pure-ftpd-on-denian-and-ubuntu-linux/

    From these two lines:
    It would seem you are running your server on a private address behind a NAT (eg. external router/firewall) - and since your server doesn't support TLS, all traffic is in the clear, which would indicate your NAT does not support FTP currently. You might see if there's a setting to turn that on, as most NAT will support FTP, though not always out of the box. And also forward your passive port range, as if you ever configure TLS support, that will have to be done (the NAT can't inspect encrypted traffic to know which ports to open).
     
    Last edited: Apr 5, 2016

Share This Page