Update turnserver.conf

This commit is contained in:
Steve Seguin 2020-07-05 17:11:57 -04:00 committed by GitHub
parent be741878e8
commit 9d1c466025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,35 +15,38 @@
# Use with obs.ninja by adding: https://obs.ninja/?streamid=XXXXXXXXXXX&turn=steve;justtesting;turn:turn.obs.ninja:443
# Obviously update the TURN settings with your domain, username, and password -- keep the password private.
listening-port=80
tls-listening-port=443
#alt-listening-port=0
#alt-tls-listening-port=0
listening-ip = 10.128.0.10 ## CHANGE ME: INTERNAL IP
listening-ip = 0.0.0.0
listening-ip = 127.0.0.1
## listening-ip = and optionally put the IPV6 address here I think
listening-ip = {10.168.0.2, 0.0.0.0, 127.0.0.1} ## CHANGE ME (internal IP)
relay-ip=10.128.0.10 ## CHANGE ME: IINTERNAL IP
relay-ip =0.0.0.0
relay-ip =127.0.0.1
relay-ip = {10.168.0.2, 0.0.0.0, 127.0.0.1} ## CHANGE ME (internal IP)
external-ip=34.67.58.241/10.128.0.10 ## CHANGE ME: PUBLIC IP / CHANGE ME: INTERNAL IP
external-ip = 34.94.203.138/10.168.0.2 ## CHANGE ME ( external + internal IP)
realm=turn.obs.ninja # CHANGE ME
server-name=turn.obs.ninja # CHANGE ME
realm=turn2.obs.ninja ## CHANGE ME
server-name=turn2.obs.ninja ## CHANGE ME
#lt-cred-mech
#userdb=/etc/turnuserdb.conf
fingerprint
stale-nonce
no-multicast-peers
min-port=10000
max-port=20000
#oauth
lt-cred-mech
user=steve:justtesting # CHANGE ME to a username and password you make up
user=steve:justtesting ## CHANGE ME
# use real-valid certificate/privatekey files
cert=/etc/letsencrypt/live/turn.obs.ninja/fullchain.pem ## CHANGE ME ; see certbot
pkey=/etc/letsencrypt/live/turn.obs.ninja/privkey.pem ## CHANGE ME ; see certbot
cert=/etc/letsencrypt/live/turn2.obs.ninja/fullchain.pem ## CHANGE ME
pkey=/etc/letsencrypt/live/turn2.obs.ninja/privkey.pem ## CHANGE ME
# verbose
no-stdout-log