Browse Source

Removing TURN server TCP listeners/homeserver.yaml TCP usage

master
Miguel Gagliardo 6 months ago
parent
commit
47998d1efc
2 changed files with 2 additions and 3 deletions
  1. 1
    1
      matrix/config/turnserver.conf
  2. 1
    2
      matrix/install.sh

+ 1
- 1
matrix/config/turnserver.conf View File

399
 # Uncomment if no TCP client listener is desired.
399
 # Uncomment if no TCP client listener is desired.
400
 # By default TCP client listener is always started.
400
 # By default TCP client listener is always started.
401
 #
401
 #
402
-#no-tcp
402
+no-tcp
403
 
403
 
404
 # Uncomment if no TLS client listener is desired.
404
 # Uncomment if no TLS client listener is desired.
405
 # By default TLS client listener is always started.
405
 # By default TLS client listener is always started.

+ 1
- 2
matrix/install.sh View File

34
 # Coturn Ports
34
 # Coturn Ports
35
 ufw allow 3478/tcp
35
 ufw allow 3478/tcp
36
 ufw allow 5443/tcp
36
 ufw allow 5443/tcp
37
-ufw allow 49152:65535/tcp
38
 ufw allow 49152:65535/udp
37
 ufw allow 49152:65535/udp
39
 
38
 
40
 # Enable firewall
39
 # Enable firewall
103
 turn_allow_guests: False
102
 turn_allow_guests: False
104
 turn_user_lifetime: 86400000
103
 turn_user_lifetime: 86400000
105
 turn_shared_secret: "${TURN_STATIC_SECRET}"
104
 turn_shared_secret: "${TURN_STATIC_SECRET}"
106
-turn_uris: [ "turn:${DOMAIN}?transport=udp", "turn:${DOMAIN}?transport=tcp" ]
105
+turn_uris: [ "turn:${DOMAIN}?transport=udp" ]
107
 EOF
106
 EOF
108
 
107
 
109
 # Randomly pick a DB password
108
 # Randomly pick a DB password

Loading…
Cancel
Save