From 8d9cd2f8f073049cd0671ee6631e934f1eb20efa Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 21 Dec 2023 14:17:17 +0900 Subject: [PATCH] Test --- nixos/hosts/osaka-linode-01/firewall.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/hosts/osaka-linode-01/firewall.nix b/nixos/hosts/osaka-linode-01/firewall.nix index 485c17a1..8ef9e6b4 100644 --- a/nixos/hosts/osaka-linode-01/firewall.nix +++ b/nixos/hosts/osaka-linode-01/firewall.nix @@ -21,6 +21,14 @@ 5280 # Jitsi ]; + networking.nat.forwardPorts = [ + { + destination = "10.100.0.2:3478"; + proto = "udp"; + sourcePort = 3478; + } + ]; + # https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables networking.firewall.extraCommands = ''