This commit is contained in:
2024-08-02 14:01:04 +03:00
parent 4a277fcb3c
commit 53753ac2ba
3 changed files with 14 additions and 14 deletions

View File

@@ -14,7 +14,10 @@
config = lib.mkIf config.mj.services.headscale.enable {
environment.systemPackages = [ pkgs.headscale ];
networking.firewall.allowedTCPPorts = [ 3478 ];
networking.firewall.allowedTCPPorts = [
3478
8080
];
networking.firewall.allowedUDPPorts = [ 3478 ];
services = {
@@ -41,11 +44,6 @@
};
};
caddy = {
virtualHosts."vpn.jakstys.lt".extraConfig = ''
reverse_proxy 127.0.0.1:8080
'';
};
};
systemd.services.headscale = {