Does JXTA support IGD UPnP enabled routers?
I want to write a consumer level p2p cross internet browser based applet that does not require any router configuration. My average consumer does not have the knowledge/expertise/inclination to start opening ports on a router. I also don't want to have to support/pay-for infrastructure servers to to enable a working p2p network (although I know I would need something for peer discovery). I'm looking into p2p to avoid the client/server shortcomings. So I'm looking into JXTA to see if it would be a good fit.
In the JXTA docs, the section 'Firewalls and NAT' says...
'A peer behind a firewall can send a message directly to a peer outside a firewall, but a peer outside the firewall cannot establish a direct connection with a peer behind the firewall. The same is true for peers which are behind a NAT device.'
I interpret that to mean that if peer A is behind a NAT it will therefore need a relay beyond the NAT if it wants to communicate with peer B - which is somewhere across the internet - even if peer B is *not* behind a NAT . Am I correct in this interpretation?
It seems that all new routers have IGD UPnP these days - so much so that I am happy to make it a requirement to run my applet. I really want to avoid a client/server setup! However, in the future I may setup a server to handle those people that don't have IGD UPnP. I understand Spotify works on a similar principal.
I can see no reference to UPnP IGD devices anywhere in the docs. So my question is...
Does JXTA support automatic NAT port mapping on IGD UPnP enabled routers? If not, are there any plans to? If it does, does that mean that I don't need a relay for those peers behind such a device?
Thanks for reading!