From 97c0c32195ac617c3000b8bb2f0fcf4a5405a1c6 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Fri, 30 Oct 2026 18:13:22 -0500 Subject: consolidate nat rules --- hosts/poweredge/networking.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'hosts/poweredge') diff --git a/hosts/poweredge/networking.nix b/hosts/poweredge/networking.nix index 790f009..8be3f4d 100644 --- a/hosts/poweredge/networking.nix +++ b/hosts/poweredge/networking.nix @@ -80,17 +80,8 @@ in { pkgs, config, ... }: { wg1.configFile = "/run/secrets/wg1"; }; # NAT (port-forwarding) rules - nat.forwardPorts =[ - { # Bitcoin p2p - sourcePort = 8333; - proto = "tcp"; - destination = "192.168.1.44:8333"; - } - { # Filebrowser - sourcePort = 19045; - proto = "tcp"; - destination = "192.168.1.45:9000"; - } + nat.forwardPorts = [ + { sourcePort = 8333; proto = "tcp"; destination = "192.168.1.44:8333"; } # Bitcoin p2p ]; firewall.allowedUDPPorts = [ 51820 ]; # Allow wg1 running on router host through w/o NAT # Additional advanced rules -- cgit v1.3.1