Nethence Newdoc Olddoc Lab Your IP BBDock  


Warning: those guides are mostly obsolete, please have a look at the new documentation.

UnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigs

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
 

(obsolete, see the new doc)