未分類

vsftpd.conf 修改 port

edit vsftpd.conf

#connect_from_port_20=YES

listen_port=300

pasv_enable=YES

pasv_min_port=9000

pasv_max_port=9999

root@ftp-server:/home# ftp localhost 300
Connected to localhost.localdomain.
220 (vsFTPd 2.2.2)
Name (localhost:webadmin): ticky
331 Please specify the password.
Password:
230 Login successful.