I've installed and configured rfc5766-turn-server under Cygwin. Now, how do I register it as a Windows service?
Asked
Active
Viewed 1,858 times
1 Answers
0
In a cygwin shell, run:
cygrunsrv -I turnserver -p /usr/local/bin/turnserver -a "arguments"
Run /usr/local/bin/turnserver -?
to list possible arguments
.
WARNING: turnserver
assumes you are using a static ip address.
If the computer is configured to use DHCP, and the DHCP server assigns the computer a static ip, make sure the service startup type is Automatic (Delayed Start)
. Otherwise, the server will attempt to bind to the network interface before the computer acquires an address from DHCP and fail.
If you see Trying to bind fd <number> to <ip-address:port>: errno=125
in the log file, this is what happened.

Gili
- 86,244
- 97
- 390
- 689
-
How do you setup TLS via command line? can you please show one example? e.g: /usr/local/bin/turnserver ???andthen???? – Jul 16 '14 at 08:06
-
1@YumYumYum Please file a new question. – Gili Jul 16 '14 at 20:31
-
http://stackoverflow.com/q/24775307/285594 - please help me on this, how should i setup the TLS? i have tried two new records call: pkey=fileto.key and cert=fileto.cert. after restarting the TURN server no error but not sure if this is what i needed for to enable TLS? – Jul 16 '14 at 23:07