From 611f9d2b5b33e1f251f002b181cf3d533b289f24 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 11 Mar 2024 14:03:19 +0900 Subject: [PATCH] Test --- nixos/hosts/osaka-linode-01/firewall.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/osaka-linode-01/firewall.nix b/nixos/hosts/osaka-linode-01/firewall.nix index e0b7554b..e2e47261 100644 --- a/nixos/hosts/osaka-linode-01/firewall.nix +++ b/nixos/hosts/osaka-linode-01/firewall.nix @@ -15,6 +15,7 @@ 993 # Mailserver 4190 # Mailserver 4443 # Jitsi + 47989 # Sunshine ]; allowedUDPPorts = [ 3478 # Headscale DERP (udp) @@ -41,7 +42,8 @@ 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) - 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,7 +68,9 @@ { 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 ]; }; }; -} \ No newline at end of file +}