]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: allow ICP UDP replies
authorGrant Slater <git@firefishy.com>
Thu, 16 Jan 2014 20:38:21 +0000 (20:38 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 16 Jan 2014 20:38:21 +0000 (20:38 +0000)
cookbooks/tilecache/recipes/default.rb

index 647e0dc0731a714ef76f6b1f9341b62a8853f712..209a83dc969f3166059e13f000b5303016ddb9e8 100644 (file)
@@ -48,6 +48,15 @@ tilecaches.each do |cache|
       dest_ports "3130"
       source_ports "1024:"
     end
       dest_ports "3130"
       source_ports "1024:"
     end
+    firewall_rule "accept-squid-icp-reply" do
+      action :accept
+      family "inet"
+      source "fw"
+      dest "net:#{address}"
+      proto "udp"
+      dest_ports "3130"
+      source_ports "1024:"
+    end
   end
 end
 
   end
 end