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[1290]: iptables: Applying firewall rules: iptables-restore: line 13 failed. /etc/sysconfig/iptables looks like this:
Code:
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
: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 224.0.0.251 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
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...