Last active
February 18, 2019 16:41
-
-
Save Skeiceee/49c1d5b0c0ec1da04d45de77088c9ebb to your computer and use it in GitHub Desktop.
This file contains 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
yum install vsftpd ftp | |
(ls /etc/vsftpd/) | |
vi /etc/vsftpd/vsftpd.conf | |
Editar: | |
anonymous_enable=NO | |
Descomentar: | |
ascii_upload_enable=YES | |
ascii_download_enable=YES | |
Agregar: | |
pasv_promiscuous=YES | |
service vsftpd restart | |
systemctl enable vsftpd.service | |
//Opcional (?) | |
firewall -cmd --permanent --add--port=21/tcp | |
firewall -cmd --permanent --add--service=ftp | |
service firewalld start / restart | |
setsebool -P tftp_home_dir on (setsebool -P ftp_home_dir on) | |
useradd name_user_ftp | |
passwd name_user_ftp | |
Adicional: | |
getsebool -a | grep ftp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment