Operating System - Linux
1827421 Members
3755 Online
109965 Solutions
New Discussion

Re: using vsftpd in different network

 
file system
Frequent Advisor

using vsftpd in different network

Dec 16 11:00:37 ecfarm2 vsftpd(pam_unix)[7036]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=192.168.200.34 user=affis


rhost is firewall and source of ftp client is private network
how can I connect vsftpd via firewall?
3 REPLIES 3
Sivakumar TS
Honored Contributor

Re: using vsftpd in different network

Hi,

Ensure the ports 20 and 21 are opened. This is the ports requied for ftp.

With Regards,

Siva.
Nothing is Impossible !
Ivan Ferreira
Honored Contributor

Re: using vsftpd in different network

As the logs indicates, you CAN connect to the vsftpd daemon, but you cannot logon because you are trying to logon using the root account. The root access is diabled by default.

Is not recommended to enable the root access via ftp for security reasons, but if you want to do it, remove root from /etc/vsftpd/user_list (The user_list file may vary depending of your linux distribution, check the userlist_file option in vsftpd.conf)
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Delrish
Trusted Contributor

Re: using vsftpd in different network

UID 0 belongs to user root. You cannot use root account for ftp by default.

Alireza