From dd1f9fb2d533d6117d55a01509814bdda30281a0 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 3 Dec 2023 11:21:16 +0900 Subject: [PATCH] test --- nixos/hosts/osaka-vultr-01/xinetd.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/hosts/osaka-vultr-01/xinetd.nix b/nixos/hosts/osaka-vultr-01/xinetd.nix index 4df0004b..cc5f9332 100644 --- a/nixos/hosts/osaka-vultr-01/xinetd.nix +++ b/nixos/hosts/osaka-vultr-01/xinetd.nix @@ -20,8 +20,7 @@ 5347 # Jitsi 5280 # Jitsi ]; - - networking.ipv4.forwarding = true; + boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; networking.firewall.extraCommands = '' iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2:10000 '';