From 7887d6f07bb4644a0846e901e220157bee2fb370 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 9 Aug 2013 11:59:16 +0100 Subject: [PATCH] Tilecache shorewall: add IP family to avoid address error on IPv6 --- cookbooks/tilecache/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 18aa14e14..7feb45fc9 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -25,6 +25,7 @@ tilecaches.each do |cache| cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| firewall_rule "accept-squid" do action :accept + family "inet" source "net:#{address}" dest "fw" proto "tcp:syn" @@ -33,6 +34,7 @@ tilecaches.each do |cache| end firewall_rule "accept-squid-icp" do action :accept + family "inet" source "net:#{address}" dest "fw" proto "udp" -- 2.43.2