:: Setup FTPd on EC2 Server

:: What is FTP
File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another host over a TCP-based network, such as the Internet. – WikiPedia
 
:: Unblock ftp port and ftp passive port
0. login to your ec2 console
1. unblock range ftp port

1
20-21

2. unblock range ftp passive port

1
1024-1048

 
:: Installing ftpd (vsftpd)

1
yum install vsftpd

 
:: How to configure ftpd (vsftpd) on ec2 server
+ configure vsftpd

1
2
3
4
5
6
7
8
vi /etc/vsftpd/vsftpd.conf
## add these config for ftp passive port on ec2
pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
pasv_address=EC2_PUBLIC_IP_ADDRESS
pasv_addr_resolve=NO
port_enable=YES

+ restarting vsftpd

1
/etc/init.d/vsftpd restart

 
:: Links
+ Google

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site