Created
February 7, 2018 05:37
-
-
Save thiagomgo/0deb9f718e3cd74338d7053f2227451f to your computer and use it in GitHub Desktop.
Configuration for Vsftpd on an EC2 Instance (Ubuntu)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
touch /etc/vsftpd.user_list | |
/etc/init.d/vsftpd restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anonymous_enable=NO | |
data_connection_timeout=120 | |
idle_session_timeout=600 | |
local_enable=YES | |
write_enable=YES | |
local_umask=022 | |
use_localtime=YES | |
max_per_ip=100 | |
dirmessage_enable=YES | |
xferlog_enable=YES | |
xferlog_std_format=YES | |
xferlog_file=/var/log/vsftpd.log | |
connect_from_port_20=YES | |
pasv_promiscuous=YES | |
pasv_enable=YES | |
pasv_min_port=49152 | |
pasv_max_port=49252 | |
port_enable=YES | |
pasv_addr_resolve=NO | |
pasv_address=<EIP> | |
xferlog_std_format=YES | |
chroot_local_user=YES | |
listen=YES | |
pam_service_name=vsftpd | |
ssl_enable=NO | |
userlist_enable=YES | |
tcp_wrappers=YES | |
allow_writeable_chroot=YES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment