projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e18eab2
)
tilecache: allow ICP UDP replies
author
Grant Slater
<git@firefishy.com>
Thu, 16 Jan 2014 20:38:21 +0000
(20:38 +0000)
committer
Grant Slater
<git@firefishy.com>
Thu, 16 Jan 2014 20:38:21 +0000
(20:38 +0000)
cookbooks/tilecache/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/tilecache/recipes/default.rb
b/cookbooks/tilecache/recipes/default.rb
index 647e0dc0731a714ef76f6b1f9341b62a8853f712..209a83dc969f3166059e13f000b5303016ddb9e8 100644
(file)
--- a/
cookbooks/tilecache/recipes/default.rb
+++ b/
cookbooks/tilecache/recipes/default.rb
@@
-48,6
+48,15
@@
tilecaches.each do |cache|
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