[turn] create coturn for Task#12025

This commit is contained in:
kjg 2023-09-27 11:24:09 +00:00
parent 00e4fc3748
commit 5c157fc677
2 changed files with 0 additions and 27 deletions

View file

@ -1,6 +0,0 @@
hostname=turn.tws-matrix.ungleich.cloud
listenport=3478
tlsport=5349
minport=49152
maxport=65535
authsecret=iasdfsadfasdfasdfasdffsdfasdfsdfsdf

View file

@ -1,21 +0,0 @@
#!/bin/sh
cat << EOF > /etc/turnserver.conf
realm=$HOSTNAME
no-tcp-relay
listening-ip=0.0.0.0
listening-port=$LISTENPORT
tls-listening-port=$TLSPORT
min-port=$MINPORT
max-port=$MAXPORT
log-file=stdout
verbose
pidfile=/var/tmp/turnserver.pid
#lt-cred-mech
use-auth-secret
static-auth-secret=$AUTHSECRET
#user=$AUTHUSERNAME:$AUTHPW
pkey=/etc/ssl/private/privkey.pem
cert=/etc/ssl/certs/cert.pem
EOF