• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue FTP not working with Plesk Firewall

backofficeitalia

New Pleskian
Hi,
i activated Plesk firewall with default option but i have a little problem with the FTP access.
I can log-in but is impossible to read the folder list.

How can i open port 20 and 21 vs a public IP client?
Have i to do this from SSH or from Plesk settings?

Thank you very much,
Best regards.
 
Run these via CLI;
Code:
iptables -A INPUT  -p tcp -m tcp --dport 20 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -m comment --comment "Allow ftp connections on port 20"
iptables -A OUTPUT -p tcp -m tcp --dport 20 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "Allow ftp connections on port 20"
iptables -A INPUT  -p tcp -m tcp --dport 21 -m conntrack --ctstate ESTABLISHED,NEW -j ACCEPT -m comment --comment "Allow ftp connections on port 21"
iptables -A OUTPUT -p tcp -m tcp --dport 21 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT -m comment --comment "Allow ftp connections on port 21"
iptables -A INPUT  -p tcp -m tcp --sport 1024: --dport 1024: -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "Allow passive inbound connections"
iptables -A OUTPUT -p tcp -m tcp --sport 1024: --dport 1024: -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -m comment --comment "Allow passive inbound connections"
 
I have exactly the same probleme. After the upgrade to version 17.8.11 I've installed the Plesk firewall. Since this time I can't connect via FTP and SSH.

The necessary firewall rules were automatically enabled:
FTP server passive ports
FTP-Server
SSH-Server

I don't understand this.
 
Back
Top