nebula bypass nixos firewall
This commit is contained in:
parent
057b5bb011
commit
4e73bdb0dc
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
networking.firewall.allowedTCPPorts = [4343];
|
networking.firewall.allowedTCPPorts = [3131];
|
||||||
services.nebula.networks.xunmesh = {
|
services.nebula.networks.xunmesh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
isLighthouse = true;
|
isLighthouse = true;
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,6 @@
|
||||||
punchy.punch = true;
|
punchy.punch = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.trustedInterfaces = ["nebula.xunmesh"]; # bypass nixos firewall
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue