BSD Ports

net/turnserver 4.6.3 DragonFly

STUN/TURN Server; IPv6, DTLS support; RFCs 5389, 5766, 6062, 6156

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
net
Package size
554.9 KiB, 3986.7 KiB installed

Description

This a BSD-licensed version of the Coturn TURN Server implementation, with IPv6 and DTLS extensions.

In the other systems

SystemPortVersion
DragonFlynet/turnserver4.6.3
FreeBSDnet/turnserver4.16.0
OpenBSDtelephony/coturn4.16.0pl0
HardenedBSDnet/turnserver4.16.0
GhostBSDnet/turnserver4.16.0
OPNsensenet/turnserver4.10.0

Install

Binary package:

pkg install turnserver

From DPorts:

cd /usr/dports/net/turnserver && make install clean

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

1) You can start and stop the turnserver manually. But, if you want
to enable turnserver as an automatically started system service,
you have to:

	a) Create and edit /usr/local/etc/turnserver.conf file.
	Use /usr/local/etc/turnserver.conf.default as an example.

	b) For user accounts settings: set up SQLite or PostgreSQL or
	MySQL or Redis database for user accounts.
	Use /usr/local/share/turnserver/schema.sql as an SQL database schema,
	or use /usr/local/share/turnserver/schema*redis as Redis database description.

	If SQLite is used, then /usr/local/var/db/turndb is the default database
	location.

	d) add line turnserver_enable="YES" to /etc/rc.conf.

	e) If you are using a non-default PREFIX (other than /usr/local),
	then edit /usr/local/etc/rc.d/turnserver file, according to
	your system settings.

	f) Restart the system or run the command:
	$ /usr/local/etc/rc.d/turnserver start

2) If you do not want the turnserver to be a system service,
   then you can start/stop it "manually", using the "turnserver"
   executable with appropriate options (see the documentation).

3) To create database schema, use schema in file /usr/local/share/turnserver/schema.sql.
The TURN Server supports (optionally) SQLite, MySQL, PostgreSQL, Redis.

4) For additional information, run:

   $ man turnserver
   $ man turnadmin
   $ man turnutils