diff --git a/turnserver.conf b/turnserver.conf index 0dd8a1d..f4930ee 100644 --- a/turnserver.conf +++ b/turnserver.conf @@ -1,3 +1,19 @@ +## How to setup a TURN server for free (or near free) + +# Create a VM instance on Google Cloud (Free Tier available) +# Use Ubuntu and Open all PORTS for ingress/egress for TCP/UDP +#>> sudo apt-get update +#>> sudo apt-get install coturn +# Set a domain name to point to the server you setup. I use https://namecheap.com to buy a $1 .xyz domain +#>> sudo add-apt-repository ppa:certbot/certbot +#>> sudo apt-get install certbot +#>> sudo certbot certonly --standalone ## do the wizard , which will setup a SSH key for you +# edit /etc/default/coturn and set TURNSERVER_ENABLED=1 +# edit THIS file with required changes; CHANGE ME. +# put the edited file @ /etc/turnserver.conf +#>> systemctl start coturn + + listening-port=80 tls-listening-port=443 #alt-listening-port=0