File tree Expand file tree Collapse file tree
packages/network-config/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ DUB_PORT=8092
101101# TURN/STUN (eturnal, docs/TURN.md). TURN_PORT takes UDP and TCP straight from clients on
102102# P2P_LISTEN_IP: STUN has to see the client's own address, so it cannot sit behind nginx.
103103# nginx terminates TLS on TURN_TLS_PORT and forwards to TURN_PROXY_PORT with the PROXY
104- # protocol. The relay range must be open in the firewall alongside TURN_PORT.
104+ # protocol. The relay range must be open in the firewall (UDP) alongside TURN_PORT.
105105TURN_PORT = 3478
106106TURN_TLS_PORT = 5349
107107TURN_PROXY_PORT = 3479
108108TURN_RELAY_MIN_PORT = 49152
109- TURN_RELAY_MAX_PORT = 49407
109+ TURN_RELAY_MAX_PORT = 65535
110110# The dashboard: the network's own status UI and API (docs/DASHBOARD.md)
111111DASHBOARD_PORT = 8090
112112
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ describe('eturnalConfig', () => {
4747 assert . ok ( ! yml . includes ( 'whitelist_peers' ) ) ;
4848 assert . match ( yml , / i p : " 2 0 3 \. 0 \. 1 1 3 \. 4 " \n { 6 } p o r t : 3 4 7 8 \n { 6 } t r a n s p o r t : u d p / ) ;
4949 assert . match ( yml , / i p : " 1 2 7 \. 0 \. 0 \. 1 " \n { 6 } p o r t : 3 4 7 9 \n { 6 } t r a n s p o r t : t c p \n { 6 } p r o x y _ p r o t o c o l : t r u e / ) ;
50- assert . match ( yml , / r e l a y _ m i n _ p o r t : 4 9 1 5 2 \n { 2 } r e l a y _ m a x _ p o r t : 4 9 4 0 7 / ) ;
50+ assert . match ( yml , / r e l a y _ m i n _ p o r t : 4 9 1 5 2 \n { 2 } r e l a y _ m a x _ p o r t : 6 5 5 3 5 / ) ;
5151 } ) ;
5252
5353 it ( 'never writes the secret to disk' , ( ) => {
You can’t perform that action at this time.
0 commit comments