From e807ebc44d31da8121240bcd19cda402974ac928 Mon Sep 17 00:00:00 2001 From: twmb Date: Mon, 5 Oct 2015 11:27:50 -0700 Subject: [PATCH] include firewall_rule for udp ports per https://consul.io/docs/agent/options.html, serf and dns are TCP and UDP --- recipes/default.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/default.rb b/recipes/default.rb index 2568f3ab..6c5f5914 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -15,6 +15,13 @@ action :create command :allow end + + firewall_rule 'consul-udp' do + protocol :udp + port node['consul']['config']['ports'].values_at('serf_lan', 'serf_wan', 'dns') + action :create + command :allow + end end poise_service_user node['consul']['service_user'] do