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
permanent
flag, it reports success. However, when trying to view the interface with thepermanent
flag, the interface is not showing in the output. - Alternatively, using
"firewall-cmd --add-interface"
is adding an interface permanently to azone
even if--permanent
is not mentioned, this still persists after reboot
Environment
- Red Hat Enterprise Linux (RHEL) 7
firewalld-0.4.4.4-14.el7
or below
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.