Fedora 26
Sponsored Link

FTP Server : Install Pure-FTPd2017/07/23

 
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 453: uncomment (if you use only IPv4)

IPV4Only       yes
# line 460: 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 180: 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