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