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

View file

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