Config satırına pasv_address={your public IP address} ekleyip, restart etmek yeterli.
1. Specify a port range in which VSFTP will run PASV connections
Add the following lines to your vsftpd.conf file:
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
port_enable=YES
You also need to add an extra line to specify which IP address VSFTP will advertise in response to a passive connection, so underneath the lines you’ve already pasted in vsftpd.conf, put:
pasv_address={your public IP address}
OR if you don’t have a fixed elastic IP address:
pasv_addr_resolve={your public domain or DNS}