HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Odd FTP issue (http://www.howtoforge.com/forums/showthread.php?t=52795)

profm2 22nd May 2011 20:39

Odd FTP issue
 
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?

falko 23rd May 2011 09:20

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

profm2 25th May 2011 03:50

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.


All times are GMT +2. The time now is 00:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.