From 9032ba3a92213ab465ca98ff46b0127b879e5850 Mon Sep 17 00:00:00 2001 From: Ciapa Date: Tue, 6 Feb 2024 20:33:35 +0100 Subject: [PATCH] Try disabling firewall --- hosts/phoenix.lewd.wtf/networking.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/phoenix.lewd.wtf/networking.nix b/hosts/phoenix.lewd.wtf/networking.nix index 1dcb454..85c62fa 100644 --- a/hosts/phoenix.lewd.wtf/networking.nix +++ b/hosts/phoenix.lewd.wtf/networking.nix @@ -27,16 +27,19 @@ enableIPv6 = true; }; + networking.firewall.enable = false; + networking.wireguard.interfaces = { wg0 = { ips = [ "10.175.197.82/32" "fd7d:76ee:e68f:a993:f6b2:9dab:ddd3:a02/128" ]; privateKeyFile = "/run/secrets/services/wireguard/airvpn.private"; - + + allowedIPsAsRoutes = false; peers = [ { publicKey = "PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk="; presharedKeyFile = "/run/secrets/services/wireguard/airvpn.psk"; - allowedIPs = [ "10.128.0.1" ]; + allowedIPs = [ "0.0.0.0/0" ]; endpoint = "134.19.179.213:1637"; persistentKeepalive = 25; }