From cf9c7f8b80bdf0e7a31455670e1c1bb0f6a09039 Mon Sep 17 00:00:00 2001 From: soraefir Date: Fri, 1 May 2026 18:55:03 +0200 Subject: [PATCH] Fix --- systems/gateway/cfg.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/systems/gateway/cfg.nix b/systems/gateway/cfg.nix index 029e880..8006a0a 100644 --- a/systems/gateway/cfg.nix +++ b/systems/gateway/cfg.nix @@ -25,17 +25,12 @@ server = { enable = true; peers = ["avalon" "asguard" "iriy" "valinor" ]; - forward = { - inInterface = "ens3"; - toAddr = "10.10.1.2"; - - ports = [ - [ 22 2222 ] # SSH - [ 80 80 ] # HTTP - [ 443 443 ] # HTTPS - [ 3979 3979 ] # OTTD - ]; - }; + forward = [ + [ "ens3" "10.10.1.2" 22 2222 ] # SSH + [ "ens3" "10.10.1.2" 80 80 ] # HTTP + [ "ens3" "10.10.1.2" 443 443 ] # HTTPS + [ "ens3" "10.10.1.2" 3979 3979 ] # OTTD + ]; }; }; };