Does TURN server work for any network traffic, not just internet telephony?

92 views
Skip to first unread message

John Michael Lafayette

unread,
Oct 1, 2015, 12:48:01 AM10/1/15
to TURN Server (Open-Source project)
This is probably a pretty stupid question, but many TURN servers are provided only for internet telephony. 
Can I use this TURN server software for relaying any data - not just internet telephony?
WebRTC is great, but I also need to relay other stuff.

John Michael Lafayette

unread,
Oct 1, 2015, 12:50:49 AM10/1/15
to TURN Server (Open-Source project)
Also, does it have any way to control who can/can't relay over it? Like can I give out usernames/passwords or something like that to people who have permission to relay and then take that permission away when they've used up a certain amount of bandwidth or when a certain time has elapsed?

Oleg Moskalenko

unread,
Oct 1, 2015, 1:05:38 AM10/1/15
to John Michael Lafayette, TURN Server (Open-Source project)
TURN server does not know anything about Internet or Telephony. It is
just relaying IP traffic (UDP and TCP). Everything else is just an
external application of the TURN server.

The only exception is the "RTCP port" feature when you can allocate a
pair of sequential ports.
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> turn-server-project-rfc57...@googlegroups.com.
> To post to this group, send email to
> turn-server-project...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/turn-server-project-rfc5766-turn-server.
> For more options, visit https://groups.google.com/d/optout.

Oleg Moskalenko

unread,
Oct 1, 2015, 1:06:25 AM10/1/15
to John Michael Lafayette, TURN Server (Open-Source project)
There is authorization mehanism (read the TURN specs) and there is
average bandwidth control.

John Michael Lafayette

unread,
Oct 1, 2015, 1:41:23 AM10/1/15
to TURN Server (Open-Source project), johnmicha...@gmail.com
Another stupid question. I have a TURN server, an Apache Web Server, and server side websockets. The clients only allow traffic to port 80 and 443, so the server is restricted to only using those ports. The webserver, the TURN server, and the server side websocket can only run on port 80 or port 443. Can these three things run on one server given that only two port numbers are available for use?

Final stupid question I promise (Haha). Is this TURN server compatible with WebRTP on port 80?  


On Thursday, October 1, 2015 at 1:05:38 AM UTC-4, Oleg Moskalenko wrote:
TURN server does not know anything about Internet or Telephony. It is
just relaying IP traffic (UDP and TCP). Everything else is just an
external application of the TURN server.

The only exception is the "RTCP port" feature when you can allocate a
pair of sequential ports.


On Wed, Sep 30, 2015 at 9:48 PM, John Michael Lafayette
<johnmicha...@gmail.com> wrote:
> This is probably a pretty stupid question, but many TURN servers are
> provided only for internet telephony.
> Can I use this TURN server software for relaying any data - not just
> internet telephony?
> WebRTC is great, but I also need to relay other stuff.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> To post to this group, send email to

Oleg Moskalenko

unread,
Oct 1, 2015, 2:13:50 AM10/1/15
to John Michael Lafayette, TURN Server (Open-Source project)
On Wed, Sep 30, 2015 at 10:41 PM, John Michael Lafayette
<johnmicha...@gmail.com> wrote:
> Another stupid question. I have a TURN server, an Apache Web Server, and
> server side websockets. The clients only allow traffic to port 80 and 443,
> so the server is restricted to only using those ports. The webserver, the
> TURN server, and the server side websocket can only run on port 80 or port
> 443. Can these three things run on one server given that only two port
> numbers are available for use?

I do not think so. TURN server can use ports 80 and 443, but it is
recommended to be installed on a separate system.

>
> Final stupid question I promise (Haha). Is this TURN server compatible with
> WebRTP on port 80?

I do not know what is WebRTP ...

>
> On Thursday, October 1, 2015 at 1:05:38 AM UTC-4, Oleg Moskalenko wrote:
>>
>> TURN server does not know anything about Internet or Telephony. It is
>> just relaying IP traffic (UDP and TCP). Everything else is just an
>> external application of the TURN server.
>>
>> The only exception is the "RTCP port" feature when you can allocate a
>> pair of sequential ports.
>>
>>
>> On Wed, Sep 30, 2015 at 9:48 PM, John Michael Lafayette
>> <johnmicha...@gmail.com> wrote:
>> > This is probably a pretty stupid question, but many TURN servers are
>> > provided only for internet telephony.
>> > Can I use this TURN server software for relaying any data - not just
>> > internet telephony?
>> > WebRTC is great, but I also need to relay other stuff.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "TURN Server (Open-Source project)" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to
>> > turn-server-project-rfc57...@googlegroups.com.
>> > To post to this group, send email to
>> > turn-server-project...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups
> "TURN Server (Open-Source project)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> turn-server-project-rfc57...@googlegroups.com.
> To post to this group, send email to
> turn-server-project...@googlegroups.com.

Oleg Moskalenko

unread,
Oct 1, 2015, 1:29:12 PM10/1/15
to John Michael Lafayette, TURN Server (Open-Source project)
If properly configured, the TURN server can work with any ports.
Reply all
Reply to author
Forward
0 new messages