relay, rendezvous and nat

You are here:

I have two edge peers and a rendezvous/relay. I would like to send a message from edge peer A to the edge peer B and then respond with a reply message from peer B to peer A. Multicasting & http turned off, just tcp.

Two scenarios - one locally, and one across the internet:

1. edge peers on same subnet, different subnet for rendezvous/relay

Both edge peers connect to the rendezvous and a message is sent from A to B, which responds with a message back to A.

2. Peer A is now sitting somewhere on the internet (wireless broadband) and the rendezvous/relay is somewhere else (cable broadband) - public tcp address set. Peer B sitting behind the same nat as the rendezvous/relay with the same configuration as Peer A (ie default edge peer) but on a separate subnet.

Both peers connect to the rendezvous relay. Peer A sends the message which is routed via the rendezvous/relay. Peer B attempts to create an EndPointMessenger for Peer A - for receiving an incoming Endpoint Router Message (see below). The local interfaces to Peer A are defined (10.49.113.56) with other interfaces when the laptop is connected another lan (192.168.0.178). The reverse hop through the rendezvous/relay is also defined (urn:jxta:uuid-7B74D248F15740558A84BDA8BFBA3A56C43E3588340B407984CEA4EF8590F41B03)

Someone in the community is working on restoring public supers for the community. We are looking at providing code examples to access those peers too. Stay tuned. Keep an eye on the dev and user mailing list.