I don't think this is something included in the predefined firewalld service rules.  ie:

firewall-cmd --get-services

You should probably just make a rule for the port instead of using the service name.

On Wed, Dec 8, 2021 at 2:37 PM Neil Aggarwal <neil@propfinancing.com> wrote:

Hello all:

 

I am seeing packets to port 3702 in my firewall log so I wanted
to add a rule to drop them silently.

 

I tried this command:

firewall-cmd --permanent --add-rich-rule='rule service name=ws-discovery drop'

 

Which give me this message:

success

 

But, when I do

systemctl restart firewalld

 

I see this entry in the log:

ERROR: INVALID_SERVICE: ws-discovery

 

That is strange.  Any idea what went wrong?

 

Thank you,

  Neil

 

--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!

 

_______________________________________________
AlmaLinux Users mailing list -- users@lists.almalinux.org
To unsubscribe send an email to users-leave@lists.almalinux.org


--
Jonathan Wright
AlmaLinux Foundation
Mattermost: chat