From 3f80ccd2e4f2ec9dfd32cb57047ef9d8ce019596 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 2 Aug 2025 20:24:04 +0200 Subject: [PATCH] fix: Add rules to allow traffic for the overlay network --- .../docker-network/templates/scripts/firewall-setup.sh.tftpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/modules/docker-network/templates/scripts/firewall-setup.sh.tftpl b/terraform/modules/docker-network/templates/scripts/firewall-setup.sh.tftpl index c595206..6ec2b32 100644 --- a/terraform/modules/docker-network/templates/scripts/firewall-setup.sh.tftpl +++ b/terraform/modules/docker-network/templates/scripts/firewall-setup.sh.tftpl @@ -8,4 +8,6 @@ ufw allow 80 comment HTTP ufw allow 443 comment HTTPS ufw allow to ${node_ip} port 2377 comment "Swarm join port" +ufw allow to ${node_ip} port 7946 comment "overlay network node discovery" +ufw allow to ${node_ip} port 4789 comment "overlay network traffic" ufw enable