Enable passive mode cho vsftpd
Mặc định VSFTP chỉ support ative mode để enable passive mode các bạn cần khai báo thêm thông số trong file vsftpd.conf
1. Mở file vsftpd.conf
vi /etc/vsftpd/vsftpd.conf
2. Thêm nội dung sau vào cuối file
pasv_enable=YES
pasv_min_port=41361
pasv_max_port=65534
3. Mở port cho firewalld
firewall-cmd --zone=public --permanent --add-port=41361-65534/tcp
firewall-cmd --reload
4. Restart lại service vsftpd
systemctl restart vsftpd
Chúc các bạn thành công.
Bình luận
Gửi