matrix: cleanup VoIP settings
This commit is contained in:
parent
672e72cfd1
commit
e4af5cfe15
13
matrix.nix
13
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
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user