CoTurn on Microsoft Azure

1,457 views
Skip to first unread message

Yaniv Hakim

unread,
Nov 10, 2016, 7:33:52 AM11/10/16
to TURN Server (Open-Source project)
Hi Everyone,

I have another question.
I want to install CoTurn on Azure virtual server (Ubuntu or any other linux is supported). Is it possible?
If so, do I need to do any special settings or is it like EC2 settings?

anybody knows or have experience with that?

thanks!

esoinila

unread,
Aug 1, 2017, 5:00:54 AM8/1/17
to TURN Server (Open-Source project)
Hi,

I have the same problem. Coturn on Azure works as STUN but for TURN on some browsers only a relay is returned that is total BS, because the relay address is the Coturns 10. private network at Azure. Annoyingly we have static public IP for the linux at Azure but still this is what the server knows:

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0d:3a:b6:1f:d5
          inet addr:10.0.0.4  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:3aff:feb6:1fd5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12132507 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13463293 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12320564299 (12.3 GB)  TX bytes:2435424669 (2.4 GB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:12232 (12.2 KB)  TX bytes:12232 (12.2 KB) 

esoinila

unread,
Aug 1, 2017, 5:05:08 AM8/1/17
to TURN Server (Open-Source project)
So when the TURN-servers internal ip is 10.0.0.4 the relay returned has : 
0.110 1 relay 2 UDP 10.0.0.4 62198 5 | 32543 | 255

:-D which is totally useless outside of Azures server room. 
It is kind of ironic that the server needed to circumvent possibly two NATs between two users is failing because it itself is (by Microsoft decision) behind NAT itself (even though it has publicly routable IPV4 address) :-D 

Denath

unread,
Nov 13, 2017, 9:59:27 AM11/13/17
to TURN Server (Open-Source project)
we had the same issue. We have finally succeeded to use turn server on Azure by opening ports 49157-65635

XW

unread,
Sep 17, 2018, 10:25:34 PM9/17/18
to TURN Server (Open-Source project)
Hello, guys

I am looking for the solutions on Coturn logging and monitoring in Azure.
I believe we should upload coturn logging to somewhere so that we can use it later. Also what kind of alert and telemetry do you guys consider?

Any feedback are welcome!
-XW

Mihály Mészáros

unread,
Sep 18, 2018, 3:23:29 AM9/18/18
to TURN Server (Open-Source project)
1. log to remote syslog..
2. use turnutils for monitoring
  • use cuturn  "turnutils_uclient" with -y option only, 
  • or in pair with "turnutils_peer"  to run tests see for more coturn examples/scripts directory..

Misi
Reply all
Reply to author
Forward
0 new messages