vsftpd in pasv mode

To make your vsftpd into passive mode. Here it is:

vim /etc/vsftpd.conf, added below at the last line of file.

	pasv_enable=YES
	pasv_min_port=12000
	pasv_max_port=12100
	pasv_address=<Public IP of your instance>

Then restart vsftpd
$sudo /etc/init.d/vsftpd restart

Similarly add 12000-12100 TCP port into your AWS EC2 Console.

Advertisements