Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
888 B

  1. listening-port={{ turn_port }}
  2. #tls-listening-port=5349
  3. #alt-listening-port=0
  4. #alt-tls-listening-port=0
  5. external-ip={{ public_ip }}
  6. min-port={{ min_relay_port }}
  7. max-port={{ max_relay_port }}
  8. fingerprint
  9. #lt-cred-mech
  10. use-auth-secret
  11. static-auth-secret={{ shared_secret }}
  12. realm={{ domain }}
  13. user-quota=12
  14. total-quota=1200
  15. #max-bps=0
  16. #bps-capacity=0
  17. #no-udp
  18. #no-tcp
  19. #no-tls
  20. #no-dtls
  21. #no-udp-relay
  22. no-tcp-relay
  23. denied-peer-ip=0.0.0.0-255.255.255.255
  24. allowed-peer-ip={{ public_ip }}
  25. allowed-peer-ip={{ ansible_host }}
  26. no-tlsv1
  27. no-tlsv1_1
  28. no-tlsv1_2
  29. #cert=/usr/local/etc/turn_server_cert.pem
  30. #pkey=/usr/local/etc/turn_server_pkey.pem
  31. #cipher-list="DEFAULT"
  32. #CA-file=/etc/ssh/id_rsa.cert
  33. #ec-curve-name=prime256v1
  34. syslog
  35. #stun-only
  36. #no-stun
  37. #rest-api-separator=:
  38. #secure-stun
  39. no-cli
  40. {% if ansible_distribution == 'Alpine' %}
  41. proc-user=turnserver
  42. proc-group=turnserver
  43. {% endif %}