On 10/26/20 7:44 AM, Michael J. Baars wrote:
I'm writing a client and server program for cluster computation.
I noticed that nmap sees a specific port as open on Fedora Server and as filtered on
Fedora
Workstation when the server is running and sees this port as closed on Fedora Server and
as filtered on Fedora Workstation when the server is not running.
You don't say which port, so it makes it impossible to give you useful
advice.
While looking into the firewalld configuration I found that Fedora
Workstation and Fedora Server have one major difference their configuration files:
<port protocol="udp" port="1025-65535"/>
<port protocol="tcp" port="1025-65535"/>
You don't say what the difference is. Which one has that and where?
After removing these specific lines from
/etc/firewalld/zones/FedoraWorkstation.xml, using firewall-cmd, the ports are still
accessible by the client and server
program.
Since you say "still", I assume you mean on the Server. You modified
the workstation config file, why would it change anything?
Can someone please tell me how to close these ports on Fedora
Workstation? And why does nmap report the ports as filtered on Fedora Workstation and as
open/close on Fedora Server?
What do you mean by closed? The reason they show up as filtered is
because they are blocked on Workstation and not on Server.