[Gluster-users] centos 6.x glusterfs 3.2.7 firewall blocking
mvb at nederlandweb.nl
mvb at nederlandweb.nl
Mon Oct 14 13:35:47 UTC 2013
centos 6.x
gluster --version
glusterfs 3.2.7 built on Jun 11 2012 13:22:29
The problem is that when i'm trying to probe like this:
gluster peer probe [hostname]
It never probe's because the firewall is blocking (when I turn it of on both
sides everything works)
But I want to keep the firewall running.
A google search give's me serveral possible ports to open , so I end with
this:
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 54539 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 38003 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 616 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 24007:24047 -j
ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 49152:49162 -j
ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT
iptables -A INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 38465:38470 -j
ACCEPT
service iptables save
service iptables restart
But still not working.
What port do I have to open ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131014/b6218c38/attachment.html>
More information about the Gluster-users
mailing list