How to create and modify custom .xml file under /etc/firewalld/services for adding certain ports with firewalld in RHEL 7, 8, 9?
Issue
FirewallD: Custom xml under/etc/firewalld/servicesis not adding ports.- How to modify custom created .xml service in
firewalld? - How to add
multiple portsas a service to a particular zone infirewalld? - Enable
multiple portsports for a specific zone infirewalld.
Environment
- Red Hat Enterprise Linux 7, 8, 9
Firewalld.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.