Dave Claessens
New Pleskian
Hello,
I have some problems with setting up my firewall.
Everything works, except FTP.
So I added a firewall rule (port 21) to allow FTP, but after this it still doesn't work.
It only works when I add the rule for all ports, looks like an other port is used, but I've set 21 as the FTP port in the FTP software.
It also works when I manually add the port with this command:
sudo firewall-cmd --zone=public --add-port=21/tcp --permanent
sudo firewall-cmd --zone=public --add-port=21/udp --permanent
sudo firewall-cmd --reload
But after applying the firewall rules again, the changes are reversed and it doesn't work anymore.
Does anyone have a sollution for me?
Thank you!
Plesk: Onyx v17.5.3
OS: CentOS 7.2.1511
FTP software: PhpStorm
FTP connection: FTPS on port 21
I have some problems with setting up my firewall.
Everything works, except FTP.
So I added a firewall rule (port 21) to allow FTP, but after this it still doesn't work.
It only works when I add the rule for all ports, looks like an other port is used, but I've set 21 as the FTP port in the FTP software.
It also works when I manually add the port with this command:
sudo firewall-cmd --zone=public --add-port=21/tcp --permanent
sudo firewall-cmd --zone=public --add-port=21/udp --permanent
sudo firewall-cmd --reload
But after applying the firewall rules again, the changes are reversed and it doesn't work anymore.
Does anyone have a sollution for me?
Thank you!
Plesk: Onyx v17.5.3
OS: CentOS 7.2.1511
FTP software: PhpStorm
FTP connection: FTPS on port 21