jselbie / stunserver

Version 1.2. This is the source code to STUNTMAN - an open source STUN server and client code by john selbie. Compliant with the latest RFCs including 5389, 5769, and 5780. Also includes backwards compatibility for RFC 3489. Compiles on Linux, MacOS, BSD, Solaris, and Win32 with Cygwin. Windows binaries avaialble from www.stunprotocol.org.
http://www.stunprotocol.org
Apache License 2.0
1.44k stars 349 forks source link

Turn server #40

Closed chrisooo3 closed 3 years ago

chrisooo3 commented 3 years ago

Hi @jselbie I have symmetric NAT, so I have to use the TURN server. Does your program support the TURN server? If no, do you have an idea how can I use it to connect p2p with another pc in a different network behind which is also behind NAT?

Basically, I want to connect two devices that are in different networks and are behind NAT.

jselbie commented 3 years ago

Stuntman is STUN only. If you need relay support that TURN provides, consider CoTurn. https://github.com/coturn/coturn

You can read my writeup on the basics of the ICE methodology and settings up a P2P connection here: https://stackoverflow.com/a/8524609/104458

On Mon, Feb 8, 2021 at 11:31 PM chrisooo3 notifications@github.com wrote:

Hi @jselbie https://github.com/jselbie I have symmetric NAT, so I have to use the TURN server. Does your program support the TURN server? If no, do you have an idea how can I use it to connect p2p with another pc in a different network behind which is also behind NAT?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jselbie/stunserver/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHNSF35YFAGN5BYNPTTOADS6DQGNANCNFSM4XKO25BA .

flash91120 commented 2 years ago

good