Hi,
I’m new to AlmaLinux, so sorry if I do a basic question about Firewalld zones.
I’m using AlmaLinux 9.4 on a server and I’m trying to setup the permissions that I usually use on Centos 7 servers.
I have configured the public zone to allow access to http service on port 80.
Then, I have created a zone named “operator” where I allow access to port 22 for ssh service.
On this zone “operator” I added the source ip on my network connection, so only from my ip I can access to the ssh port.
With this configuration, on centos 7 everything is ok: from my ip address I’m able to acces to port 80 and to port 22.
On the AlmaLinux server, I’m not able to connect to the http port 80 defined in the public zone.
If I remove my ip from the source list of the “operator” zone, I can access to port 80 defined on the public zone.
For the moment, I added the port 80 even to the “operator” zone, in this way I can access to port 22 and to port 80 from my ip address.
Is this the right way to manage zones on AlmaLinux?
On Centos 7, firewalld accept the connection if the rules set on the public zone are satisfied, while on AlmaLinux it seems that the definition of the source ip on the “operator” zone is precluding the access to port 80 defined on the public zone.
Is this right, or am I doing something wrong?
Thanks a lot for your help