From 72a9b007e284504f90acb41c7375fb5450b142d7 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 14 Mar 2022 15:59:07 -0700 Subject: [PATCH] Change default bind address to loopback --- setup-cluster.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup-cluster.yml b/setup-cluster.yml index 49d0ef9..1c1d1df 100644 --- a/setup-cluster.yml +++ b/setup-cluster.yml @@ -129,8 +129,14 @@ # Bind nomad nomad_bind_address: 0.0.0.0 + # Default interface for binding tasks + nomad_network_interface: lo + # Create networks for binding task ports nomad_host_networks: + - name: public + interface: eth0 + reserved_ports: "22" - name: nomad-bridge interface: nomad reserved_ports: "22"