I noticed this morning the iptables firewall was not starting due to the fact that I rebuilt the kernel and forgot to include the relevent Netfilter modules. So I added those and rebooted. The firewall still fails, but rather that referring to the non-available ip_tables module, it now just says iptables.init: iptables: Applying firewall rules: iptables-restore: line 13 failed
. /etc/sysconfig/iptables looks like this:
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 5353 -d 220.127.116.11 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
I did run the system-config-firewall wizard although I did not have to change anything as my needs are fairly simple.
Does anyone know how to debug service iptables? I'd like to have the firewall up...