diff --git a/lib/default.nix b/lib/default.nix index 28bbfc7..83a0ee0 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -65,6 +65,7 @@ in proxyPass = "http://localhost:${toString port}"; extraConfig = '' allow 10.100.0.0/24; + allow 100.10.10.0/8; deny all; ''; }; diff --git a/machines/lisa/default.nix b/machines/lisa/default.nix index f92f4ab..7f2ab44 100644 --- a/machines/lisa/default.nix +++ b/machines/lisa/default.nix @@ -50,6 +50,9 @@ }; + services.tailscale.enable = true; + environment.systemPackages = with pkgs; [ tailscale ]; + nix.maxJobs = lib.mkDefault 4; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; @@ -78,7 +81,7 @@ networking.firewall = { - allowedUDPPorts = [ 51820 ]; + allowedUDPPorts = [ 51820 41641 ]; }; networking.nat.enable = true; networking.nat.externalInterface = "ens20";