From a2be6386be1ea1df335363be8b13150b5dc3f734 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 29 Feb 2024 22:52:43 -0500 Subject: [PATCH] open firewall ports --- nixos76/system/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos76/system/configuration.nix b/nixos76/system/configuration.nix index d91f88d..537bea0 100644 --- a/nixos76/system/configuration.nix +++ b/nixos76/system/configuration.nix @@ -31,8 +31,10 @@ networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.firewall = { - allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport + allowedUDPPorts = [ 51820 22000 ]; # Clients and peers can use the same port, see listenport + allowedTCPPorts = [ 22000 48412 62109 ]; }; + # Enable WireGuard networking.wireguard.interfaces = { # "wg0" is the network interface name. You can name the interface arbitrarily.