From 43b8b44a5e52a25f883931035dcee700098a2537 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 11 Mar 2024 14:38:32 +0900 Subject: [PATCH] update --- nixos/hosts/osaka-linode-01/firewall.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/nixos/hosts/osaka-linode-01/firewall.nix b/nixos/hosts/osaka-linode-01/firewall.nix index e2e47261..86b865db 100644 --- a/nixos/hosts/osaka-linode-01/firewall.nix +++ b/nixos/hosts/osaka-linode-01/firewall.nix @@ -8,14 +8,13 @@ 42420 # Vintage Story 25565 # Minecraft 1443 # Headscale DERP (tcp) - 25 # Mailserver - 143 # Mailserver - 465 # Mailserver - 587 # Mailserver - 993 # Mailserver - 4190 # Mailserver - 4443 # Jitsi - 47989 # Sunshine + 25 # Mailserver + 143 # Mailserver + 465 # Mailserver + 587 # Mailserver + 993 # Mailserver + 4190 # Mailserver + 4443 # Jitsi ]; 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 ]; }; };