nebula bypass nixos firewall

This commit is contained in:
xunuwu 2025-09-11 09:03:42 +02:00
parent 057b5bb011
commit 4e73bdb0dc
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{config, ...}: {
networking.firewall.allowedTCPPorts = [4343];
networking.firewall.allowedTCPPorts = [3131];
services.nebula.networks.xunmesh = {
enable = true;
isLighthouse = true;

View file

@ -30,4 +30,6 @@
punchy.punch = true;
};
};
networking.firewall.trustedInterfaces = ["nebula.xunmesh"]; # bypass nixos firewall
}