Stun-Turn-Server

Stun-Turn-Server

Application Docker from ich777's Repository

Vue d'ensemble

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.

Arguments d'exécution

Réseau
bridge
Coquille
bash
Privilégié
false
Paramètres supplémentaires
--restart=unless-stopped

Configuration du modèle

Container PathPathrw

Container Path: /stun-turn

Cible
/stun-turn
Valeur
/mnt/cache/appdata/stun-turn-server
TCP PortPorttcp

TCP Port

Cible
5349
Valeur
5349
UDP PortsPortudp

UDP Port

Cible
5349
Valeur
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.

Cible
PORT
Valeur
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).

Cible
SECRET
RealmVariable

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

Cible
REALM
Certificate File NameVariable

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

Cible
CERT_FILE
Valeur
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).

Cible
PRIVKEY_FILE
Valeur
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).

Cible
DH_FILE
Valeur
dhparam.pem
Display Secrets in logVariable

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

Cible
DISPLAY_SECRETS
Valeur
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).

Cible
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)

Cible
EXTRA_PARAMS
Total QuotaVariable

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

Cible
TOTAL_QUOTA
Valeur
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).

Cible
MAX_BPS
Valeur
0
Cipher ListVariable

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

Cible
CIPHER_LIST
Valeur
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).

Cible
CERT_LENGTH
Valeur
2048
Certificate Generation - Valid DaysVariable

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

Cible
CERT_VALID_DAYS
Valeur
3650
Certificate Generation - State or ProvinceVariable

Specify your state or province.

Cible
CA_STATE_PROV
Valeur
None
Certificate Generation - LocalityVariable

Specify your locality.

Cible
CA_LOCALITY
Valeur
None
Certificate Generation - OrganizationVariable

Specify your organiszation.

Cible
CA_ORGANIZATION
Valeur
None
Diffie–Hellman Key LengthVariable

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

Cible
DH_LENGTH
Valeur
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).

Cible
CLI_PASSWORD
Listening IPVariable

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

Cible
LISTENING_IP
Valeur
0.0.0.0
UMASKVariable

Container Variable: 000

Valeur
000
UIDVariable

Container Variable: UID

Valeur
99
GIDVariable

Container Variable: GID

Valeur
100
DATA_PERMVariable

Container Variable: DATA_PERM

Valeur
770

Catégories

Télécharger les statistiques

102,817
Total des téléchargements
146
Ce mois-ci
143
Moyenne / Mois

Total des téléchargements au fil du temps

Chargement du graphique...

Détails

Référentiel
ghcr.io/ich777/stun-turn-server
Dernière mise à jour2025-12-11
Première vue2020-03-21

Exécutez Stun-Turn-Server sur Unraid.

Stun-Turn-Server est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.