fixed config syntax

This commit is contained in:
rra 2020-05-07 19:49:09 +02:00
parent b9b2f0dfb4
commit f40041dc88
2 changed files with 14 additions and 8 deletions

View File

@ -27,7 +27,10 @@ pkey=/etc/letsencrypt/live/myserver.org/privkey.pem
syslog
# For security:
prod # disallow server fingerprinting
no-loopback-peers #dissalow connections on lo interface
no-cli # disable command-line access
# disallow server fingerprinting
prod
#dissalow connections on lo interface
no-loopback-peers
# disable command-line access
no-cli

View File

@ -11,7 +11,7 @@ Status: draft
Introduction
---
In april 2020 Conversations released support for end-to-end encrypted audio/video calls. For it to work you need to enable server-side support, this guide will help you set that up.
In april 2020 Conversations [released a new version with support for end-to-end encrypted audio/video calls](https://github.com/iNPUTmice/Conversations/blob/master/CHANGELOG.md#version-280), bringing that functionality to one of the most widely used XMPP clients. For A/V calls to work you need to enable server-side support. This guide will help you doing that.
We will first install and configure [Coturn](https://github.com/coturn/coturn). It is a libre STUN/TURN server that helps establish peer connections across firewalls for media streams such as calls. Then we will configure Prosody to talk to Coturn.
@ -82,9 +82,12 @@ The file looks like this:
syslog
# For security:
prod # disallow server fingerprinting
no-loopback-peers #dissalow connections on lo interface
no-cli # disable command-line access
# disallow server fingerprinting
prod
#dissalow connections on lo interface
no-loopback-peers
# disable command-line access
no-cli
Now time for some config. You need to edit `/etc/tunserver.conf` in a few places.
@ -149,4 +152,4 @@ Finally to check if it works you can add check your server with the web-based [C
Thanks & Acknowledgements
---
Thanks to the [example config of Wiktor](https://github.com/wiktor-k/coturn) and the [Prosody documentation](https://prosody.im/doc/coturn)
Thanks to the [example config of Wiktor Kwapisiewicz](https://github.com/wiktor-k/coturn) and the [Prosody documentation](https://prosody.im/doc/coturn)