PDA

View Full Version : How to save firewall rules with firewalld


errorxp
28th April 2012, 11:54 AM
So I use firewall-cmd to open some ports on my system with:
firewall-cmd --add --port=port/protocol
but after reboot the rules are gone.
How do I save ?

chrismurphy
29th April 2012, 08:39 PM
By the way, firewalld will not be the default firewall for F17. It's been delayed to F18, although it will be installed in F17. So to use it you'll need to stop and disable iptables, then enable and start firewalld.

errorxp
30th April 2012, 03:04 PM

Ok, I guess it's better to disable firewalld for now then.

chrismurphy
30th April 2012, 06:06 PM
It works, it's just that the GUI config tool isn't done yet. Hence the hold up.

There should be new packages pushed already (or very soon) that update the help and man pages with more up to date information on the command line configuration tool.