aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node/carcajou.nix3
-rw-r--r--site/neptune.nix2
2 files changed, 5 insertions, 0 deletions
diff --git a/node/carcajou.nix b/node/carcajou.nix
index bc90d76..74109bd 100644
--- a/node/carcajou.nix
+++ b/node/carcajou.nix
@@ -29,4 +29,7 @@
# Activate as Nomad and Consul server node
services.nomad.settings.server.enabled = true;
services.consul.extraConfig.server = true;
+
+ # Use this node as entrypoint to cluster (Diplonat not working for now)
+ networking.firewall.allowedTCPPorts = [ 80 443 ];
}
diff --git a/site/neptune.nix b/site/neptune.nix
index a42e2a7..27e2588 100644
--- a/site/neptune.nix
+++ b/site/neptune.nix
@@ -8,6 +8,8 @@
services.nomad.settings.datacenter = "neptune";
+ networking.firewall.allowedTCPPorts = [ 80 443 ];
+
# ----
nix = {