Skip to content

Instantly share code, notes, and snippets.

@SirTerrific
SirTerrific / matrix-howto-synapse_coturn.md
Created July 21, 2021 19:50 — forked from maxidorius/matrix-howto-synapse_coturn.md
Working config for VoIP in Matrix: synapse + coturn

This configuration is provided AS-IS and as an example/reference for those who do not find a working configuration for themselves. It is not always kept up to date and no support is provided.

Assuming:

  • Your Matrix domain: example.org
  • Your TURN domain (arbitrary): turn.example.org
  • Your Public IP: 1.2.3.4
  • Your Private IP for the box hosing the services: 10.11.12.13
  • A shared secret between synapse and coturn: ThisIsASharedSecret-ChangeMe
  • You want Firefox compatiblity (TURNS only is not supported)
#!/bin/bash
# Compiled by following instructions on https://wiki.cacert.org/FAQ/ImportRootCert
ADB="/home/christian/android-sdk-linux/platform-tools/adb"
ROOT_CRT="cacert-root.crt"
INT_CRT="cacert-class3.crt"
curl -o "$ROOT_CRT" "https://www.cacert.org/certs/root.crt"
curl -o "$INT_CRT" "https://www.cacert.org/certs/class3.crt"
@SirTerrific
SirTerrific / docker-compose.yml
Created May 29, 2019 22:55 — forked from Aghassi/docker-compose.yml
LinuxServer Docker Compose: Plex, Sonarr, Radarr, NZBGet, Let's Encrypt, Time Machine
version: '2'
services:
plex:
image: linuxserver/plex
container_name: plex
volumes:
- /path/to/plex/config:/config
- /path/to/plex/Movies:/data/movies
- /path/to/plex/Shows:/data/tvshows
- /path/to/plex/transcode:/data/transcode
@SirTerrific
SirTerrific / android-set-ntp-server.md
Created October 31, 2018 15:48 — forked from xujiaao/android-set-ntp-server.md
Set the NTP server of your android device
tags
Android
Android Things

Set the NTP server of your android device