Stun-Turn-Server

Stun-Turn-Server

Aplicación Docker from ich777's Repository

Visión general

This is a Basic STUN & TURN server that was mainly created for Nextcloud Talk. It is fully automated and will create all the necessary files and passwords so that the server can sucessfully start and run. Please read all the discriptions from the Variables carefully and also look at the 'Show more settings' tab. ATTENTION: Please ignore the socket errors after the server startup if you don't have IPv6 enabled on your server.

Argumentos en tiempo de ejecución

Red
bridge
Concha
bash
Privilegiado
false
Parámetros adicionales
--restart=unless-stopped

Configuración de plantillas

Container PathPathrw

Container Path: /stun-turn

Objetivo
/stun-turn
Valor
/mnt/cache/appdata/stun-turn-server
TCP PortPorttcp

TCP Port

Objetivo
5349
Valor
5349
UDP PortsPortudp

UDP Port

Objetivo
5349
Valor
5349
Port VariableVariable

If you change this variable you have to create two new port forwardings with the corresponding ports one for TCP and one for UDP.

Objetivo
PORT
Valor
5349
Static SecretVariable

Create your own secret and enter it here or leave empty and the server creats a secret that is stored into 'secret.txt' in the main directory of the container (generate it for example in a linux terminal with the command 'openssl rand -hex 32' without quotes).

Objetivo
SECRET
RealmVariable

Your hostname (eg: 'example.org' without quotes).

Objetivo
REALM
Certificate File NameVariable

Name of the certification file (leave empty if the server should create one or replace it with your own).

Objetivo
CERT_FILE
Valor
cert.pem
Private Key File NameVariable

Name of the private key file (leave empty if the server should create one or replace it with your own).

Objetivo
PRIVKEY_FILE
Valor
privkey.pem
Diffie-Hellman Key File NameVariable

Name of the Diffie–Hellman key file (leave empty if the server should create one or replace it with your own - also plase look under the 'Show more settings' tab if you want to generate a bigger or smaller key default is: 2048).

Objetivo
DH_FILE
Valor
dhparam.pem
Display Secrets in logVariable

Display your secrets in the log (set to 'true' or leave empty to disable it).

Objetivo
DISPLAY_SECRETS
Valor
true
Certificate Generation - CountryVariable

Country code for your certificate if the server should create one (two letters eg: 'US' without quotes - also plase look under the 'Show more settings' tab there are more settings for generating your certificate).

Objetivo
CA_COUNTRY
Extra Startup ParametersVariable

Here you can enter your Extra Startup Parameters if needed (you can get a full list of commands from here: https://github.com/coturn/coturn/wiki/turnserver)

Objetivo
EXTRA_PARAMS
Total QuotaVariable

Total allocations quota: global limit on concurrent allocations (only change if you know what you are doing).

Objetivo
TOTAL_QUOTA
Valor
100
Maximum bpsVariable

Max bytes-per-second bandwidth a TURN session is allowed to handle (input and output network streams are treated separately). Anything above that limit will be dropped or temporary suppressed - within the available buffer limits (only change if you know what you are doing).

Objetivo
MAX_BPS
Valor
0
Cipher ListVariable

Allowed OpenSSL cipher list for TLS/DTLS connections (only change if you know what you are doing).

Objetivo
CIPHER_LIST
Valor
ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384
Certificate Generation - Key LengthVariable

Enter your preferred key length (the higher the value the longer it takes to generate the certificate).

Objetivo
CERT_LENGTH
Valor
2048
Certificate Generation - Valid DaysVariable

Specify how long that the certificate should be valid in days.

Objetivo
CERT_VALID_DAYS
Valor
3650
Certificate Generation - State or ProvinceVariable

Specify your state or province.

Objetivo
CA_STATE_PROV
Valor
None
Certificate Generation - LocalityVariable

Specify your locality.

Objetivo
CA_LOCALITY
Valor
None
Certificate Generation - OrganizationVariable

Specify your organiszation.

Objetivo
CA_ORGANIZATION
Valor
None
Diffie–Hellman Key LengthVariable

Enter your preferred key length (the higher the value the longer it takes to generate the key).

Objetivo
DH_LENGTH
Valor
2048
Command Line PasswordVariable

Enter your CLI password or leave empty if you want that the server creates a random one (please note that you have to manually enable the console with the '--cli-port PORT' - PORT stands for your preferred port - in the Extra Startup Parameters and create the corresponding port).

Objetivo
CLI_PASSWORD
Listening IPVariable

Specify the listening port (only change if you know what you are doing).

Objetivo
LISTENING_IP
Valor
0.0.0.0
UMASKVariable

Container Variable: 000

Valor
000
UIDVariable

Container Variable: UID

Valor
99
GIDVariable

Container Variable: GID

Valor
100
DATA_PERMVariable

Container Variable: DATA_PERM

Valor
770

Categorías

Descargar estadísticas

102,817
Descargas totales
146
Este mes
143
Media / Mes

Descargas totales a lo largo del tiempo

Cargando gráfico...

Detalles

Repositorio
ghcr.io/ich777/stun-turn-server
Última actualización2025-12-11
Visto por primera vez2020-03-21

Ejecute Stun-Turn-Server en Unraid.

Stun-Turn-Server se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.