Vsftp: 425 FTP connection failed [How to Solve]

Find the ftp configuration file /etc/vsftpd/vsftpd.conf

vsftp:425 failed to establish connection

Modify the configuration file by appending

 pasv_enable=YES
 pasv_min_port=65000
 pasv_max_port=65500

The port number can be customized

and restart the FTP service

 # systemctl restart vsftpd.service

open PASV_ min_ Port and PASV_ max_ Port range port, take firewall as an example

 # firewall-cmd --zone=public --add-port=65000-65500/tcp --permanent
 # firewall-cmd --reload

For more operations of firewall, please move to the basic operations of CentOS firewall

425 Security: Bad IP connecting

modify configuration file and add

 pasv_promiscuous=YES

Restart FTP service

 # systemctl restart vsftpd.service

Similar Posts: