# yum -y install ftp vsftpd
# vi /etc/vsftpd/vsftpd.conf
local_enable=YES
chroot_local_user=YES
# service vsftpd restart
# chkconfig vsftpd on
# service iptables start
# chkconfig iptables on
# service iptables save
# service iptables stop
# chkconfig iptables off
# service ip6tables start
# chkconfig ip6tables on
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off