F16 and firewalld
pgaltieri at gmail.com
Thu Jan 12 22:50:14 UTC 2012
In F14 I'm used to editing /etc/sysconf/iptables, add my rules and run
service iptables restart to reload the rules.
I assumed that the way to do it now was systemctl reload iptables.service.
This of course was wrong. So I did a little googleing.
There apparently is a new firewall daemon firewalld in F16. Which
interstingly enough is not installed by default though iptables are.
So I install firewalld, enable the service and then start the service. I
run iptables --list to see the current config.
I edit the /etc/sysconf/iptables file and enter systemctl reload
firewalld.service and much to my surprise I get the following
[root at virtualF16 sysconfig]# systemctl reload firewalld.service
Job failed. See system logs and 'systemctl status' for details.
[root at virtualF16 sysconfig]# systemctl status firewalld.service
firewalld.service - Firewall dynamic change handling daemon
Loaded: loaded (/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since Thu, 12 Jan 2012 15:35:27 -0700; 9min
Process: 25110 ExecStart=/usr/sbin/firewalld $FIREWALLD_ARGS
Main PID: 25111 (firewalld)
��� 25111 /usr/bin/python /usr/sbin/firewalld
��� 25448 /usr/bin/python /usr/bin/firewall-cmd --reload
In /var/log/messages I see the following:
Jan 12 15:36:27 virtualF16 firewall-cmd:
ERROR:dbus.proxies:Introspect error on :1.387:/org/fedoraproject/FirewallD:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not
receive a reply. Possible causes include: the remote application did not
send a reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.
Jan 12 15:37:32 virtualF16 systemd: firewalld.service operation timed
However systemctl stop firewalld.service and systemctl start
firewalld.service work just fine.
However, I still have not found out how to modify /etc/sysconf/iptables and
get the new rules reloaded because firewalld does nothing with iptables.
I looked in the F16 System Administrators guide and there was nothing on
Any assistance is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users