기본적으로 vsftpd
service에 vsftpd가 실행되고 있는지 확인.
아니면 실행해줄것. service vsftpd start
ftp 포트 (21)를 열어줘야 함.
Configure Iptables To Protect The FTP Server
Open file /etc/sysconfig/iptables, enter:
# vi /etc/sysconfig/iptables
Add the following lines, ensuring that they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT:
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT
Save and close the file. Restart firewall:
# service iptables restart
(출처 : Red Hat / CentOS VSFTPD FTP Server Configuration)
Anonymous 접속을 허락하지 않는다면,
/etc/vsftpd/vsftpd.conf
anonymous_enable=NO