firewall-cmd interfaces with permanent flag are not persistent, interfaces without permanent flag are persistent
Issue
- When adding an interface to a zone using the
permanentflag, it reports success. However, when trying to view the interface with thepermanentflag, the interface is not showing in the output. - Alternatively, using
"firewall-cmd --add-interface"is adding an interface permanently to azoneeven if--permanentis not mentioned, this still persists after reboot
Environment
- Red Hat Enterprise Linux (RHEL) 7
firewalld-0.4.4.4-14.el7or below
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.