Search This Blog


CentOS: FTP Server Setup

Product: VFTPd Server
OS: CentOS 6.3

This post document about FTP server installation and setup which allow local user to login and change to their home directory

yum install ftpserver

Configure to Auto Start
chkconfig vsftpd on

Startup Manually
service vsftpd start

Configure To Allow Local User Change to Home Dir
setsebool -P ftp_home_dir=1
vi /etc/vsftpd/vsftpd.conf

Ensure following:

This is optional

Firewall Configuration
vi /etc/sysconfig/iptables

Add following line before "--reject-with" rule

# FTP allow incoming connection on standard FTP port 21
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT

Now restart to activate the setting, if FTP server already started
service vsftpd restart

No comments: