From 3fe7162d1207cb75d583d212a6bb36ee30a8e168 Mon Sep 17 00:00:00 2001 From: Shane O'Grady Date: Tue, 15 Mar 2016 14:57:26 -0300 Subject: [PATCH] Add RPC port to iptables config From https://www.consul.io/docs/agent/options.html#ports --- terraform/shared/scripts/ip_tables.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/shared/scripts/ip_tables.sh b/terraform/shared/scripts/ip_tables.sh index b304cd1a8..acf853402 100644 --- a/terraform/shared/scripts/ip_tables.sh +++ b/terraform/shared/scripts/ip_tables.sh @@ -4,6 +4,7 @@ set -e sudo iptables -I INPUT -s 0/0 -p tcp --dport 8300 -j ACCEPT sudo iptables -I INPUT -s 0/0 -p tcp --dport 8301 -j ACCEPT sudo iptables -I INPUT -s 0/0 -p tcp --dport 8302 -j ACCEPT +sudo iptables -I INPUT -s 0/0 -p tcp --dport 8400 -j ACCEPT if [ -d /etc/sysconfig ]; then sudo iptables-save | sudo tee /etc/sysconfig/iptables