vsftpd - remote access

Pyton78

New Member
Credits
113
for now I have instaled vsftpd, I have a postrouting configuration, wenn I do connect with my server I have answer:
220 (vsFTPd 3.0.3)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
421 Timeout.


wenn I try to connect in local network I don`t have problem. Eny One help me.
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
7,500
G'day and welcome.

Telling us what Linux Distribution you are using would be a good start.

I won't be the one to help but the more you tell us, the better.

Chris Turner
wizardfromoz
 

Pyton78

New Member
Credits
113
ubuntu 20.04

nopriv_user=ftp
listen=YES
listen_port=21
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
local_max_rate=5120
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
max_clients=500
max_per_ip=2
banner_file=/etc/vsftpd/vsftpd.banner
chroot_local_user=YES
secure_chroot_dir=/var/chroot/vsftpd
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot.list
 

f33dm3bits

Gold Member
Gold Supporter
Credits
7,527
Since when you connect locally you don't have a problem it's not a vsftpd configuration problem. How does your setup look like as in your network setup, what does your local LAN look like, what's behind your router and how do you have it currently configured that your vsftpd instance can be reached from outside of your LAN?
 

dos2unix

Well-Known Member
Credits
2,834
FTP uses two ports, 20 and 21. Are both opened on firewall?
Also what user is FTP runniing as? Does it have permissions to the directories?
 


Members online


Top