CentOS 8
Sponsored Link

FTP Server : Install Pure-FTPd
2019/11/05
 
Install Pure-FTPd to configure FTP Server.
[1] Install and Configure Pure-FTPd.
# install from EPEL

[root@www ~]#
dnf --enablerepo=epel -y install pure-ftpd
[root@www ~]#
vi /etc/pure-ftpd/pure-ftpd.conf
# line 77: change (no Anonymous)

NoAnonymous                  yes

# line 451: uncomment (if you use only IPv4)

IPV4Only                     yes

# line 460: uncomment (if you use only IPv6)

IPV6Only                     yes

[root@www ~]#
systemctl enable --now pure-ftpd

[2] If SELinux is enabled, change boolean setting.
[root@www ~]#
setsebool -P ftpd_full_access on

[3] If Firewalld is running, allow FTP service ports.
[root@www ~]#
vi /etc/pure-ftpd/pure-ftpd.conf
# line 179: uncomment and fix PASV ports

PassivePortRange             21000 21010

[root@www ~]#
systemctl restart pure-ftpd
[root@www ~]#
firewall-cmd --add-service=ftp --permanent

success
[root@www ~]#
firewall-cmd --add-port=21000-21010/tcp --permanent

success
[root@www ~]#
firewall-cmd --reload

success
Matched Content