Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-22-2007, 05:18 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
vsftpd login locally, but not remotely. get a login prompt though!

Hi chaps,

I have a linux (RH Enterprise ES) server that i've inherited at a subsidory in a company i work at.

They need ftpd running on it, so i've set vsftpd to run on startup and done a few configuration changes to make it secure online (taking away anonymous access etc.)

Anyway, getting to the point, i can create users, and they can login just fine...but only if they are logging in from the local lan, or from on the server itself. However, if i try and login remotely over the web (i've port forwarded tcp 20 + 21 through the router to this server) i get a login prompt (telling me the port forwarding is working?) but the user name and password that i know works locally, does not work over web! if i use filezilla client, i get the following server message once i've entered the correct password:

"530 Permission denied"

both pasv and active mode do the same (on the client end)...I get to the user/pass prompt, but as soon as the password is entered, it kicks me off with that message above ^

can this be to do with the tcp_wrapper? i wouldnt have thought so seeing as im getting a username prompt remotely.
or is this to do with the fact that im port forwarding, therefore the ftp is reporting the wrong ip address to the client in the pasv ftp packets (reporting its local address rather than its real public ip?) - again i wouldnt have thought so seeing that im getting a login prompt.

my full vsftd.conf file is pasted below (minus the comment fields):


note: i changed the tcp_wrappers to NO, but only restarted the vsftd daemon, i didnt restart any other daemons (dont know if i need to - hope not as the server is not only an ftp but a production box for other app's).

i also added the username that works locally into the vsftpd.user_name file, but as soon as i did, it stopped working, so im guessing thats not it either (i then quickly removed it from the file so i could ftp in again (locally on our lan))

also, something else to bear in mind... im a just a beginner at linux, so please treat me like a dummie when answering, dont expect me to know anything that you might think is simple....cos im simple!

many thanks for your help in advance peeps.

tony x


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 server: can connect locally, not remotely propz Linux - Networking 2 10-24-2005 01:59 AM
unable to login because no login prompt DX2 Linux - General 1 05-25-2005 01:33 PM
login prompt - can only login as root mindfriction Linux - Newbie 6 09-03-2004 08:14 AM
Can't Login Locally As Root Sword Linux - General 5 08-01-2003 04:25 PM
PAM and LDAP, can't login locally Staceman Linux - Networking 0 07-02-2003 12:25 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:51 AM.

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