fix matric and tailscale firewall

This commit is contained in:
Motiejus Jakštys 2023-03-26 15:40:36 +03:00
parent 3578bab44d
commit e68dbc1eee
1 changed files with 5 additions and 2 deletions

View File

@ -354,7 +354,7 @@ in {
handle /_matrix/* { handle /_matrix/* {
encode gzip encode gzip
reverse_proxy http://hel1-b.servers.jakst:8008 reverse_proxy http://127.0.0.1:8008
} }
''; '';
}; };
@ -554,7 +554,10 @@ in {
80 443 80 443
3478 5349 5350 # coturn 3478 5349 5350 # coturn
]; ];
allowedUDPPorts = [ 53 443 ]; allowedUDPPorts = [
53 443
41641
];
allowedUDPPortRanges = coturn; allowedUDPPortRanges = coturn;
logRefusedConnections = false; logRefusedConnections = false;
checkReversePath = "loose"; # tailscale insists on this checkReversePath = "loose"; # tailscale insists on this