centos 6.x glusterfs 3.2.7 firewall blocking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 14, 2013 at 9:35 AM,  <mvb at nederlandweb.nl> wrote:
> 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 ?
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

Older versions of gluster use 24009+ ...
Open these...

You can also look at your firewall logs to see what access requests
are being blocked.
To avoid figuring this all out yourself, you can use puppet-gluster.

Cheers,
James


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux