Configure vsftpd on Ubuntu & AWS Lightsail

First, you need to follow this tutorial to setup vsftpd on Ubuntu server. https://linuxize.com/post/how-to-setup-ftp-server-with-vsftpd-on-ubuntu-20-04/ If you face this error when testing the connection using FileZilla: Server sent passive reply with unroutable address. Using server address instead. Connection timed out after 20 seconds of inactivity Modify /etc/vsftpd.conf to add these lines: pasv_min_port=30000 pasv_max_port=31000 pasv_address=[the_private_ip] Example of … Read more