Fedora 28
Sponsored Link

FTP Server : Install Pure-FTPd2018/05/09

 
Install Pure-FTPd to configure FTP Server.
[1] Install and Configure Pure-FTPd.
[root@www ~]#
dnf -y install pure-ftpd
[root@www ~]#
vi /etc/pure-ftpd/pure-ftpd.conf
# line 77: change (no Anonymous)

NoAnonymous      
yes
# line 441: uncomment (if you use only IPv4)

IPV4Only       yes
# line 448: uncomment (if you use only IPv6)

IPV6Only       yes
[root@www ~]#
systemctl start pure-ftpd

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

[2] If Firewalld is running, allow FTP service.
[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
[3] If SELinux is enabled, change Boolean setting.
[root@www ~]#
setsebool -P ftpd_full_access on

Matched Content