From ec0a7c4db34bea8f21c5829f7a68a8fbafb1be35 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Mon, 14 Jul 2025 17:16:35 +0200 Subject: [PATCH] feat: use vpn only for local connections --- hosts/goingmerry/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/goingmerry/configuration.nix b/hosts/goingmerry/configuration.nix index 136071c..1b62f6e 100644 --- a/hosts/goingmerry/configuration.nix +++ b/hosts/goingmerry/configuration.nix @@ -322,7 +322,7 @@ { publicKey = "GEX4m+MaTgiFJIusY8lAWkKji5WjzKmyMsSbCmBmHSQ="; presharedKeyFile = "/home/sprechtl/.wg-keys/psk"; - allowedIPs = ["0.0.0.0/0" "::/0"]; + allowedIPs = [ "10.0.0.0/24" ]; endpoint = "sprechtl.me:51820"; persistentKeepalive = 25; }