@ -87,27 +87,31 @@ Now time for some config. You need to edit `/etc/tunserver.conf` in a few places
First, add your external IP-address to `listening-ip`. If you don't know it, you can find out using the following command:
:::console
`curl https://ifconfig.co`
$ curl https://ifconfig.co
Then, set `static-auth-secret` to a decently long passphrase. You can also generate one with:
:::console
`openssl rand -base64 30`.
$ openssl rand -base64 30
Take note of it because we will need this secret later.
Finally, edit the paths to the Let's Encrypt certificates to whatever you've set in ['Configuring an XMPP server for secure, mobile instant messaging']({filename}instant-messaging/configuring_an_xmpp_server_prosody_0.11.md#enabling-https).
Once you are done move it in to place:
::: console
$ sudo mv turnserver.conf /etc/turnserver.conf
Update & set up Prosody
---
First update your Prosody modules:
:::console
apt-get install mercurial
cd /usr/src/prosody-modules
hg pull
hg update
$ apt-get install mercurial
$ cd /usr/src/prosody-modules
$ hg pull
$ hg update
Then edit your prosody config in `/etc/prosody/prosody.cfg.lua`:
@ -126,12 +130,12 @@ Finishing up
Start `coturn` and enable it start on boot
:::console
sudo systemctl enable --now coturn
$ sudo systemctl enable --now coturn
Restart `prosody`
:::console
/etc/init.d/prosody restart
$ /etc/init.d/prosody restart
Finally to check if it works you can add check your server with the web-based [Conversations Compliance tester](https://compliance.conversations.im/)