X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/91519a02764b8a075676b05e3bfb1932dc3afac5..c5e6a12d2f2a66c52fa757c03fa2808859224de0:/cookbooks/tilecache/recipes/default.rb diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 647e0dc07..b6db40164 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -46,7 +46,16 @@ tilecaches.each do |cache| dest "fw" proto "udp" dest_ports "3130" - source_ports "1024:" + source_ports "3130" + end + firewall_rule "accept-squid-icp-reply" do + action :accept + family "inet" + source "fw" + dest "net:#{address}" + proto "udp" + dest_ports "3130" + source_ports "3130" end end end