Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set up Node/Express to act as a STUN server? [closed]

I'm looking for any good resources on the subject or maybe an open source project that implements a STUN server using Node/Express.

like image 339
Tony Rizko Avatar asked Dec 29 '14 19:12

Tony Rizko


1 Answers

STUN uses UDP, so you're not going to write a STUN server using Expess, which helps you build HTTP servers. An NPM search turns up a package called stunsrv that looks promising; C implementations are also available in the classic stund and stuntman.

Bear in mind that you need two IP addresses to run a STUN server; if you can't manage that, you should probably make use of a public STUN server instead.

like image 200
hobbs Avatar answered Oct 16 '22 20:10

hobbs