Re: Please help with TUNNELING

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Please help with TUNNELING

by Bela Ban :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You need TUNNEL and TCPGOSSIP, there should be an example in the manual

Klaus Teller wrote:

> Guys,
>
> I'm completely desperate right now. I've tried all thinkable possibilities; yet tunneling is not working for me.
>
> I have one node behind a firewall and two with public IP addresses. I use one of the two as gossip router and the other as the second cluster node. I want to have the node behind firewall communicate with the node publicly reachable but nothing works.
>
> I believe i have a configuration issue but i can't figure out what is wrong. For instance, one thing that I am missing is how does the node in the public internet discovers the node behind firewall?
>
> Here are the various configurations i tried for the node behind firewall:
>
> <config>
>     <TUNNEL gossip_router_hosts="69.45.44.245[12001]" />
>     <PING timeout="2000"/>
> </config>
>
>
> <config>
>     <TCP bind_port="7800" bind_addr="localhost" loopback="true"/>
>     <TCPGOSSIP timeout="3000" initial_hosts="69.45.44.245[12001]" </config>
>
> <config>
>     <TCP bind_port="7800"   loopback="true"/>
>     <TCPPING timeout="3000"             initial_hosts="${jgroups.tcpping.initial_hosts:69.45.44.245[78001]}"
> "/>
>
>
> The best possible result i experienced is in the last case where the firewalled node could get messages from the public node, but public node couldn't get message from the firewalled node.
>  
> Please give me a hint.
>
> Thanks,
> Klaus.
>  

--
Bela Ban
Lead JGroups / Clustering Team
JBoss



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
javagroups-users mailing list
javagroups-users@...
https://lists.sourceforge.net/lists/listinfo/javagroups-users

Parent Message unknown Re: Please help with TUNNELING

by Bela Ban :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Klaus Teller wrote:

> Thanks for the answer Bela. I've got a very interesting behavior maybe
> you can confirm that this is an improvement in JGRoups.
>
> I upgraded all my nodes to JGroups-2.8.0.CR4. And right now all of
> them are working with the stack defined in tcp.xml. The only change
> I've done to this file is to specify one of the three nodes as TCPPING
> initial host.
>
> The result is that even be node behind firewall can communicate with
> all other nodes without a glitch. I did even need to add a TUNNEL or
> TCPGOSSIP or even start a Gossip Router.
>
> Am i getting crazy here or it's just new?

No, this is not new. If you open the ports defined in TCP (e.g. 7800) on
the firewall, then the nodes are able to see each other.

--
Bela Ban
Lead JGroups / Clustering Team
JBoss


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
javagroups-users mailing list
javagroups-users@...
https://lists.sourceforge.net/lists/listinfo/javagroups-users