Odd FTP issue

Discussion in 'HOWTO-Related Questions' started by profm2, May 22, 2011.

  1. profm2

    profm2 New Member

    Hi all,

    I'm having an issue with FTPing into my server.

    If I type my internal IP address in (192.168.x.x), then everything works normally, I can connect and update my site, etc.

    If I go through the "front door" from outside my network by either the IP or the URL (domain.com), then I get the following:

    Code:
    Status:	Connection established, waiting for welcome message...
    Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response:	220-You are user number 1 of 50 allowed.
    Response:	220-Local time is now 12:32. 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:	USER (username)
    Response:	331 User (username) OK. Password required
    Command:	PASS ********
    Response:	230-User (username) has group access to:  client1    sshusers  
    Response:	230 OK. Current restricted directory is /
    Command:	SYST
    Response:	215 UNIX Type: L8
    Command:	FEAT
    Response:	211-Extensions supported:
    Response:	 EPRT
    Response:	 IDLE
    Response:	 MDTM
    Response:	 SIZE
    Response:	 REST STREAM
    Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    Response:	 MLSD
    Response:	 AUTH TLS
    Response:	 PBSZ
    Response:	 PROT
    Response:	 UTF8
    Response:	 ESTA
    Response:	 PASV
    Response:	 EPSV
    Response:	 SPSV
    Response:	 ESTP
    Response:	211 End.
    Command:	OPTS UTF8 ON
    Response:	200 OK, UTF-8 enabled
    Status:	Connected
    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 (internal ip address here,204,116)
    Status:	Server sent passive reply with unroutable address. Using server address instead.
    Command:	MLSD
    Error:	Connection timed out
    Error:	Failed to retrieve directory listing
    So, my question is, does anyone know how I can FTP into my site through the URL or IP instead of the internal IP?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you try both active and passive transfers in your FTP client?
     
  3. profm2

    profm2 New Member

    Thanks Falko ...

    Seems that trying to test the outside network from the inside network kinda fudges everything up.

    I tethered to my phone (not on internal wifi) and was able to FTP into the server, no problems.
     

Share This Page