• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Almalinux 9 and Firewall

OverWolf

Regular Pleskian
Server operating system version
Almalinux 9
Plesk version and microupdate number
18.0.52
Hi,

I've tested that any change that I do with Firewall with Plesk interface, it isn't working. If I want to apply it I must connect to server (ssh) and use command firewall-cmd --add-port=xxxx.

Why ?
 
I've seen that Plesk have its interface :

Code:
plesk (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens3
  sources:
  services:
  ports: 22/tcp 21/tcp 25/tcp 53/tcp 53/udp 80/tcp 110/tcp 143/tcp 443/tcp 465/tcp 587/tcp 993/tcp 995/tcp 8443/tcp 8447/tcp 8880/tcp
  protocols:
  forward: yes
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

is this the problem ?
 
Hi Peter,

on Almalinux there is firewalld 1.2.1 (only firewalld) and then I've installed Plesk. So, I think that Plesk Firewall can work as expect, but no, it seems that Plesk is working on its zone, while firewalld is working on zone=public (that zone that it's the default for incoming traffic)
 
So far I've not seen similar reports. Would it be possible that you open a ticket with Plesk support so that an engineer can examine this behavior on your server?
 
Hi,

how can I remove ftp passive mode rules and set my rules?

I've seen that in firewall zone plesk, there are this ports open 49152-65535/tcp and I think that there are for fpt, but I want to modify this range.

How can I do ?

P.S.:
I've tried to remove this range from firewall-cmd command but this ports remain open.
 

Attachments

  • PleskFW.jpg
    PleskFW.jpg
    62.4 KB · Views: 4
Do not close these ports. It will only prohibit FTP to work and will also have an effect on other services who need random ports for data transfers. It also makes no sense to only close part of these ports, because then software will just use the remaining, narrowing the number of available ports if several services and users concurrently want to transfer data from and to the servers.
 
Back
Top