diff --git a/matrix.nix b/matrix.nix index 573919a..3a9bb53 100644 --- a/matrix.nix +++ b/matrix.nix @@ -73,10 +73,10 @@ in # Tell users about our TURN server turn_uris = with config.services.coturn; [ - "turn:${realm}:${toString listening-port}?transport=udp" - "turn:${realm}:${toString listening-port}?transport=tcp" "turns:${realm}:${toString tls-listening-port}?transport=udp" "turns:${realm}:${toString tls-listening-port}?transport=tcp" + "turn:${realm}:${toString listening-port}?transport=udp" + "turn:${realm}:${toString listening-port}?transport=tcp" ]; # Bind on localhost and used a reverse proxy @@ -172,7 +172,7 @@ in # Enable TLS secure-stun = true; - no-tcp-relay = false; + no-tcp-relay = true; listening-ips = [ "0.0.0.0" ]; @@ -183,11 +183,8 @@ in no-tlsv1 no-tlsv1_1 mobility - #denied-peer-ip=10.0.0.0-10.255.255.255 - #denied-peer-ip=192.168.0.0-192.168.255.255 - allowed-peer-ip=192.168.1.5 - #user-quota=12 - #total-quota=1200 + user-quota=12 + total-quota=1200 verbose=true ''; };