Nethence Documentation Lab Webmail Your IP BBDock  


Those documents are obsolete, please use the Nethence Documentation instead.

HomeUnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigsPrivate

vsftpd configuration on Redhat
 
 
Configuration
Open active and passive ports on your firewall e.g.,
20
21
50000:50999
 
Make sure it's available,
rpm -q vsftpd
Note. eventually change user defaults (usermod -D and /etc/skell)
 
Configure,
cd /etc/vsftpd
vi vsftpd.conf
change/add,
anonymous_enable=no
dirmessage_enable=no
pasv_min_port=50000
pasv_max_port=50999

local_enable=yes
check_shell=yes
chroot_local_user=yes
chroot_list_enable=yes
Note. we're disabling anonymous/ftp account
Note. we're defining a passive FTP port range
 
Launch and enable the daemon at startup,
service vsftpd restart
chkconfig vsftpd on
 

Last update: Sep 30, 2010