[Nice] I want to setup public TURN server

Askar Safin safinaskar at mail.ru
Tue Oct 2 11:44:56 PDT 2012

I want to setup/create public TURN server, because:

1. I just want to help people :) Two TURN servers (Numb and mine) is better than just one (Numb)

2. Numb conforms to old standards (see prev. message: http://lists.freedesktop.org/archives/nice/2012-October/000654.html ). I want to create server which will conform to modern standards and even to exotic ones (such as TURN TCP RFC 6062). Moreover, I want to run a lot of different TURN daemons on different ports. This makes my server ideal for testing/research and finding bugs in TURN daemons and clients.

3. I didn't find on Numb main page phrase "You may use this server as you want, even for production purposes, not only to testing ones". So, I'm not sure Numb allows real usage (not only testing usage). My server page will explicitly say that you may use it for any purposes, even you can hardcode server address and account info to your production-use program. (but see questions later)

4. I tried to access Numb server via Icedemo program (Icedemo program is sample program which comes with PJSIP tarball, PJSIP is library similar to libnice, http://www.pjsip.org , http://www.pjsip.org/pjnath/docs/html/ice_demo_sample.htm ). Sometimes it works, sometimes no (but if I use TURN server running on my local computer, all is OK). I don't know why. Maybe this is because Numb uses old standards. Maybe this is because Numb is over-used, i. e. busy and has a deny-of-service problem. In both cases it is good to setup my server.

But I have a lot of questions about my idea.

1. Is this good idea? Do you really need this server? Or there is no needing for such server? Will it really helpful?

2. Let's imagine my server became very popular. More popular than Numb is. How much traffic will it receive?

3. What hosting is suitable for this? What is recommended: a typical VPS or some real physical server? Yes, I received the prev. message from Youness Alaoui http://lists.freedesktop.org/archives/nice/2012-October/000650.html . This message says that this is POSSIBLE to put server to VPS and even to NAT (of course with port redirected to some global-IP-machine). But what is recommended/good-idea? VPS or physical server? If it will receive a lot of traffic?

4. How many money will it cost (if I will keep in mind traffic size)? Of course, I will pay. I will not take donations or something like that. I just will pay. I want to help other people. But if this is really a lot of money, I probably throw/disregard this idea.

5. Is this good idea to allow any usage of server? Or it is recommended for me just to say "only testing purposes"?

6. I want to create one standard username and password, for example "test" and "1234". Is this good idea? Or it is recommended to require registration like Numb does?

7. I want to allow people to hardcode my server name, username and password to any program. Of course hardcoding is always bad, I just mean I ALLOW this and not RECOMMEND, I just mean that I allow making my server the default server supported by some program, unlike stunserver.org does (the stunserver.org page says: don't make stunserver.org the default server, just suggest it). Is this good idea?

Askar Safin

More information about the nice mailing list