Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to get my head wrap around this issue...

I would like to connect two users...

Those users are already connected to a TCP server, which is aware of both public ip and connection TCP port. I was hoping to use the existing connection to the server in order to create a p2p connection between my users, since it is kind of redundant to ask them to connect to another UDP server in order to know the public port they are connected through.

Is it at all possible to resolve this without creating another server (UDP this time)?

share|improve this question
What are you trying to do in the end? Share a file, connect to a file share, chat,...? What application are you serving? –  Bart Silverstrim Sep 7 '12 at 11:44
I guess your question is relative to should I use udp or tcp between both users ? actually, I'm intending to try a voip for personal use... –  TheSquad Sep 7 '12 at 11:51
So your actual question is that you have User A on one network, User B on another network, and you both see a server on a third network, and want to stream a VOIP connection by proxying through the third network? –  Bart Silverstrim Sep 7 '12 at 11:56
Actually no, I would like to use the third server as some kind of STUN server, but since the third server use a tcp connection, I would like to know if there is a way, to punch a hole on NAT firewalls (for A and B) in order to connect them directly on p2p. The server is dedicated and does not have any firewall blocking connections. –  TheSquad Sep 7 '12 at 12:00
Most home routers should be able to open a series of UDP ports for a direct connection if that's the route you want to take (which is better than trying to proxy). Look at the settings page for your NAT routers. –  Bart Silverstrim Sep 7 '12 at 21:21
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.