Firewall / Service / Known ports: definitions?

Where can I find the known port definitions? I want to make sure I don’t duplicate them by manually entering them in the Post section.

Thanks?..

Are you referring to ports associated with the default supported services provided by firewalld? If so, take a look at the xml files located in /usr/lib/firewalld/services/ for these. (Custom services can be added to /etc/firewalld/services/ as required.)

1 Like