Skip to main content

Can I have a 'public' RDV behind a firewall using port forwarding?

2 replies [Last post]
Joined: 2010-06-18

I'm trying to plan an architecture potentially using JXTA. I don't have access to a publically addressable server, but I can run a server behind a router with a static public IP and setup port forwarding. Will this suffice as a publically addressable RDV and relay? I would potentially have clients both in the same LAN as the RDV and outside the LAN that sit behind NATs over which I have no control. Advice appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-01-31

Yet, this should work. The NAT/Router should NOT translante your IP address and your RDV should be configured to listen to the proper port. Then, a proper seed file must be created (and distributed) with the IP address and port.

Joined: 2008-10-27

You can have behind NAT if you configure your public IP address.

You can not have a port range with this config, be aware.

configurator.setTcpPublicAddress(publicAddress, false);
configurator.setHttpPublicAddress(publicAddress, false);