This commit is contained in:
albert 2024-03-11 14:38:32 +09:00
parent 611f9d2b5b
commit 43b8b44a5e
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -15,7 +15,6 @@
993 # Mailserver
4190 # Mailserver
4443 # Jitsi
47989 # Sunshine
];
allowedUDPPorts = [
3478 # Headscale DERP (udp)
@ -43,7 +42,6 @@
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)
iifname "enp0s4" tcp dport 4443 dnat to 10.100.0.2:4443; # Jitsi
iifname "enp0s4" tcp dport 47989 dnat to 100.64.0.2:47989; # Sunshine game streaming
}
}
'';
@ -68,8 +66,6 @@
{ 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)
{ sourcePort = 4443; proto = "tcp"; destination = "10.100.0.2:4443"; } # Jitsi
# Testing
{ sourcePort = 47989; proto = "tcp"; destination = "100.64.0.2:47989"; } # Sunshine game streaming
];
};
};