In the case of vsftp, you need to give the following in the configuration file: /etc/vsftpd/vsftpd.conf
open the conf file in your favorite editor and edit the following:
#(xx.xx.xx.xx is the server's public IP)
pasv_address=xx.xx.xx.xx
pasv_min_port=60000
pasv_max_port=65000
Save the file and restart vsftp.
/etc/init.d/vsftpd restart
Now open the ports 60000 to 65000 in your server firewall. In the case of aws instance, you can do this through "security group" in the aws interface.






0 comments:
Post a Comment