[Linux-cluster] Node can't rejoin after failure if iptables is enabled

Benjamin Kingston list at nexusnebula.net
Thu Apr 12 20:38:11 UTC 2012


Hey guys, hopefully someone can help me here.

If I start both hosts up at the same time, they join just fine, but if I
reboot one, I have to disable iptables on both hosts

Here's the IP tables I have going for now after trying some troubleshooting:

# 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 -i admin -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -i local -s 10.254.99.4 -m state --state NEW -m tcp -p tcp --dport
22 -j ACCEPT
-A INPUT -i local -s 224.0.0.0/4 -m state --state NEW -j ACCEPT
-A INPUT -i local -s 239.192.86.2 -m state --state NEW -j ACCEPT
-A INPUT -i local -s 10.254.99.4 -m state --state NEW -m multiport -p udp
--dports 5404,5405 -j ACCEPT
-A INPUT -i local -s 10.254.99.4 -m state --state NEW -m tcp -p tcp --dport
11111 -j ACCEPT
-A INPUT -i local -s 10.254.99.4 -m state --state NEW -m tcp -p tcp --dport
16851 -j ACCEPT
-A INPUT -i local -s 10.254.99.4 -m state --state NEW -m tcp -p tcp --dport
8084 -j ACCEPT
-A INPUT -i local -s 10.254.99.4 -m state --state NEW -m tcp -p tcp --dport
21064 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT

Of caurse the source IPs  are changed on the other node. Am I missing
anything or does something look too restrictive? I appreciate the help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20120412/122cef06/attachment.htm>


More information about the Linux-cluster mailing list