FTP : Install ProFTPD2026/06/01 |
|
Install ProFTPD to configure FTP Server. |
|
| [1] | Install and Configure ProFTPD. |
|
root@www:~#
apt -y install proftpd-core
root@www:~#
vi /etc/proftpd/proftpd.conf # line 11 : turn to [off] if not need UseIPv6 off # line 17 : change to your hostname ServerName "www.srv.world" # line 39 : uncomment (specify root directory for chroot) DefaultRoot ~
root@www:~#
vi /etc/ftpusers # add users you prohibit FTP connection test
systemctl restart proftpd |
| [2] | If UFW is enabled, fix the PASV ports and allow FTP services and the PASV ports. |
|
root@www:~#
vi /etc/proftpd/proftpd.conf # add to last line PassivePorts 60000 60100root@www:~# systemctl restart proftpd root@dlp:~# ufw allow ftp root@dlp:~# ufw allow ftp-data root@www:~# ufw allow 60000:60100/tcp Rule added Rule added (v6) |
| Sponsored Link |
|
|