Change VSFTPD port
How to change default vsftpd port (TCP port 21)?
vsftpd (Very Secute FTP Daemon) is used by Fedora, Ubuntu, RHEL and other Linux based distros.
Changing default can be a good ideia for security reasons.
Login to your server as root
Open vsftpd.conf file (by default /etc/vsftp/vsftpd.conf or /etc/vsftpd.conf)
# nano vsftpd.conf
Find line that read as follows
listen_port=21
Then, replace port 21 with new port (example 23)
listen_port=231
Save and Exite. Make sure that no other service is usign that port.
Restart vsftpd
# /etc/init.d/vsftpd restart
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment