vsftpd not working remotely
Im a newbie so be easy on me.
Ok, fresh install of FC3 and im trying to get VSFTPD working from outside my LAN. I usaully use WS-FTP for client on w2k box. Anyways when i try to connect i get this:
connecting to *.*.*.*:8081
Connected to *.*.*.* port 8081
220 (vsFTPd 2.0.1)
USER me
331 Please specify the password.
PASS (hidden)
230 Login successful.
PWD
257 "/home/me"
SYST
215 UNIX Type: L8
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (192,168,0,6,31,146)
connecting to 192.168.0.6:8082
- -
connecting to 192.168.0.6:8082
! Connection failed 192.168.0.6 - connection timed out
! connect: error 0
PORT 192,168,1,101,18,254
500 Illegal PORT command.
! Failed "port":
! Retrieve of folder listing failed (0)
---------------------------------------------------------------------------------
OK, so... for some reason it changes and tries to connect to my local address... Ive browsed through the forums and found that using SmartFTP works and gives this message in log:
------------------------------------------------------------------------------------------
227 Entering Passive Mode (192,168,0,6,31,147)
Opening data connection IP: 192,168,0,6,31,147 PORT: 8083.
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
UPNP: Added Port Mapping: Router:4867 -> 192.168.1.101:4867
UPNP: GetExternalIPAddress returned: "*.*.*.*"
PORT *,*,*,*,19,3
200 PORT command successful. Consider using PASV.
Opening data connection IP: *.*.*.* PORT: 4867.
LIST -aL
150 Here comes the directory listing.
183 bytes received successfully. (183 B/s) (00:00:01).
UPNP: Removed Port Mapping: Router:4867
226 Directory send OK.
here is my vsftpd.conf file:
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
listen_port=8081
pasv_enable=YES
pasv_min_port=8082
pasv_max_port=8099
xferlog_std_format=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
My ISP blocks all usefull ports like 80 and 21 so i must use other ports. Ive opened all ports for the vsftpd service on my netgear WGR614v4. Is there someway for my vsftpd service to use the external address instead of my internal one? Please help.. getting pissed off : ) If you need any editional info just let me know... thank you so much
nmucats
Last edited by nmucats; 12-24-2004 at 06:10 PM.
|