Getting VSFTP running on Fedora 14
Posted
by
Louis W
on Server Fault
See other posts from Server Fault
or by Louis W
Published on 2012-06-07T13:20:00Z
Indexed on
2012/06/07
22:42 UTC
Read the original article
Hit count: 407
Having troubles getting VSFTPD running on Fedora 14. Here is what I have done so far, please let me know if I am missing something. When I try to connect through FTP it says connection time out.
Installed VSFTP with yum
yum install vsftpd
Edited config file
vi /etc/vsftpd/vsftpd.conf
Started service and made sure it would always start up
service vsftpd start
chkconfig vsftpd on
Added and configured a new user
/usr/sbin/useradd upload
/usr/bin/passwd upload
usermod -c "This user cannot login to a shell" -s /sbin/nologin upload
Added firewall rules
iptables -A INPUT -p tcp --dport 21 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 20 -j ACCEPT
service iptables save
service iptables restart
Checked netstat (In reply to comment below)
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 23752/vsftpd
© Server Fault or respective owner