Skip to main content

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

2 replies [Last post]
manwood
Offline
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.
adamman71
Offline
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.

boylejohnr
Offline
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);

Regards,
John.