• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Firewall rules not working correctly

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
 
Back
Top