LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-21-2004, 06:58 PM   #1
nmucats
LQ Newbie
 
Registered: Dec 2004
Location: Michigan
Distribution: RH Fedora Core 3
Posts: 2

Rep: Reputation: 0
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.
 
Old 12-21-2004, 08:56 PM   #2
Groundhog1248
Member
 
Registered: Nov 2004
Location: PA
Distribution: Redhat Federo 3.0
Posts: 32

Rep: Reputation: 15
I'm gettting the same 500 illegal port command when trying to use a different port other than 21. I successfully login but never lists the directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd - creating links that can be used remotely ereeno Linux - Software 5 10-16-2008 05:38 AM
vsftpd not working pradsy90 Linux - Software 2 05-09-2008 09:19 AM
vsftpd server: can connect locally, not remotely propz Linux - Networking 2 10-24-2005 12:59 AM
Can't get vsftpd working Kropotkin Linux - Networking 3 07-18-2005 02:23 PM
VSFTPD - Change Password Remotely? foxbat77 Linux - Networking 0 08-31-2004 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration