From f1a669d409fabdc04c9bbec09380e8d4f0644e63 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sat, 14 Jun 2025 16:23:40 +0200 Subject: [PATCH] try doing it on wg0 --- nixos/hosts/shodan/configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/shodan/configuration.nix b/nixos/hosts/shodan/configuration.nix index ad4dcbd..851c69a 100644 --- a/nixos/hosts/shodan/configuration.nix +++ b/nixos/hosts/shodan/configuration.nix @@ -60,9 +60,10 @@ networkmanager.enable = true; firewall.enable = true; - - firewall.allowedTCPPorts = [22 24 8080 9090 9777]; - firewall.allowedUDPPorts = [22 24 8080 9090 9777]; + firewall.interfaces."wg0".allowedTCPPorts = [8080]; + firewall.interfaces."wg0".allowedUDPPorts = [8080]; + firewall.allowedTCPPorts = [22 8080 9090 9777]; + firewall.allowedUDPPorts = [22 8080 9090 9777]; hostName = "shodan"; };