This commit is contained in:
parent
82b80cf360
commit
a2c4827553
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
];
|
||||
allowedUDPPorts = [
|
||||
3478 # Headscale DERP (udp)
|
||||
10000 # Jitsi Meet (udp)
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -25,6 +26,7 @@
|
|||
iifname "enp0s4" tcp dport 25565 dnat to 10.100.0.2:25565; # Minecraft
|
||||
iifname "enp0s4" tcp dport 1443 dnat to 10.100.0.2:1443; # Headscale DERP (tcp)
|
||||
iifname "enp0s4" udp dport 3478 dnat to 10.100.0.2:3478; # Headscale DERP (udp)
|
||||
iifname "enp0s4" udp dport 10000 dnat to 10.100.0.2:10000; # Headscale DERP (udp)
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
@ -41,6 +43,7 @@
|
|||
{ sourcePort = 25565; proto = "tcp"; destination = "10.100.0.2:25565"; } # Minecraft
|
||||
{ sourcePort = 1443; proto = "tcp"; destination = "10.100.0.2:1443"; } # Headscale DERP (tcp)
|
||||
{ sourcePort = 3478; proto = "udp"; destination = "10.100.0.2:3478"; } # Headscale DERP (udp)
|
||||
{ sourcePort = 10000; proto = "udp"; destination = "10.100.0.2:10000"; } # Headscale DERP (udp)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue