sudo dnf -y install pure-ftpd
===== Настройка =====
sudo 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 no # line 179: uncomment and fix PASV ports PassivePortRange 21000 21010
===== Настройка firewall =====
sudo firewall-cmd --add-service=ftp --permanent
sudo firewall-cmd --add-port=21000-21010/tcp --permanent
sudo firewall-cmd --reload
===== Настройка SE =====
sudo setsebool -P ftpd_full_access on
===== Настройка systemctl =====
sudo systemctl start pure-ftpd
sudo systemctl enable pure-ftpd
Last updated 5 years ago