Author Topic: how to turn on passive mode in FTP  (Read 3407 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
how to turn on passive mode in FTP
« on: March 22, 2021, 08:41:51 AM »
hello
i'd like to turn on the passive mode in FTP, how can i do it in centos-webpanel

lsm99you

Offline
*
Re: how to turn on passive mode in FTP
« Reply #1 on: March 23, 2021, 11:13:13 AM »
In console: nano /etc/pure-ftpd/pure-ftpd.conf.
Uncoment PassivePortRange 30000 50000
Uncoment ForcePassiveIp "your static IP address"

Restart pure-ftpd   service pure-ftpd restart


P.S. Don't forget to add 30000:5000 in CSF Firewall Configuration (TCP_IN and TCP_out)

In filezilla client , set the FTP Connection to Passive (recommended)
Edit>Settings>FTP>Passive

Let me know if you solved it.