P2P NAT UPnP and Java

General discussion on P2Pnat Media NAT Traversal technology

P2P NAT UPnP and Java

Postby sokrew on Fri Jul 16, 2010 3:06 pm

I'm trying to get a P2P thing happening between two applets across the internet. I'm using regular java.net.ServerSocket.ServerSocket and java.net.Socket.Socket to connect. All works fine without NAT/firewalls or locally. Obviously it does not work when either or both is behind NAT. However, for those routers than support UPnP I want to be able to configure the router to auto port forward to my socket.

Can this be done using the standard JDK? I can't find anything in the docs. If not, can anyone point me in the right direction?

Thanks for reading!
sokrew
 
Posts: 4
Joined: Wed Jul 14, 2010 9:21 pm

Return to P2Pnat Media

Who is online

Users browsing this forum: No registered users and 1 guest

cron