commit 0761cc332ebc708482c7f524b025959d4bc7cbb6
parent e4549f28f0aeabc23fa2a46071aa5deae6139d35
Author: William Casarin <jb55@jb55.com>
Date: Wed, 15 Dec 2021 17:01:19 -0800
open up ports for webdev
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/nix-config/machines/quiver/networking/default.nix b/nix-config/machines/quiver/networking/default.nix
@@ -17,9 +17,11 @@ let
synergy = 24800;
wireguard = 51820;
nncp = 5442;
+ webdev = 8080;
};
firewallRules = [
+ "nixos-fw -s 192.168.87.1/24 -p tcp --dport ${toString ports.webdev} -j nixos-fw-accept"
"nixos-fw -s 10.100.0.1/24 -p tcp --dport ${toString ports.synergy} -j nixos-fw-accept"
"nixos-fw -s 172.24.0.1/24 -p tcp --dport 9050 -j nixos-fw-accept"
];