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.