From ab87558c0a2defeaa663f29176421c785f7670ae Mon Sep 17 00:00:00 2001 From: NullBite Date: Sun, 23 Jun 2024 03:32:11 -0400 Subject: [PATCH] rpi4: vpn network configuration --- hosts/rpi4/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/rpi4/configuration.nix b/hosts/rpi4/configuration.nix index a76ac15..8726327 100644 --- a/hosts/rpi4/configuration.nix +++ b/hosts/rpi4/configuration.nix @@ -42,6 +42,12 @@ autostart = true; }; + networking.firewall.trustedInterfaces = [ + "wg0" + "tailscale0" + ]; + networking.firewall.allowedUDPPorts = [ 51820 ]; + services.openssh = { enable = true; openFirewall = true;