This commit is contained in:
iFargle 2023-12-21 14:55:58 +09:00
parent e0c5b2af59
commit e479733676

View file

@ -21,7 +21,11 @@
# 5280 # Jitsi
];
networking.nat.forwardPorts = [
networking.nat = {
enable = true;
internalInterfaces = [ "enp0s4" ];
externalInterface = "wireguard0"
forwardPorts = [
{ # Headscale DERP UDP
destination = "10.100.0.2:3478";
proto = "udp";
@ -58,4 +62,5 @@
sourcePort = 1443;
}
];
};
}