From e68dbc1eee925bab1bec55032960146f03a9095a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 26 Mar 2023 15:40:36 +0300 Subject: [PATCH] fix matric and tailscale firewall --- configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index fee2b16..a032da8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -354,7 +354,7 @@ in { handle /_matrix/* { 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 3478 5349 5350 # coturn ]; - allowedUDPPorts = [ 53 443 ]; + allowedUDPPorts = [ + 53 443 + 41641 + ]; allowedUDPPortRanges = coturn; logRefusedConnections = false; checkReversePath = "loose"; # tailscale insists on this