summaryrefslogtreecommitdiffstats
path: root/hosts/poweredge
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/poweredge')
-rw-r--r--hosts/poweredge/networking.nix13
1 files changed, 2 insertions, 11 deletions
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