X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e03067e0599313ff544f05dc5b49eaa5203c5978..b69abd54c4cd3e37231a25ca24d8be756b46e2d7:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 86792ea99..51f3f4389 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -179,6 +179,14 @@ template "/etc/shorewall/hosts" do notifies :restart, "service[shorewall]" end +template "/etc/shorewall/conntrack" do + source "shorewall-conntrack.erb" + owner "root" + group "root" + mode 0o644 + notifies :restart, "service[shorewall]" +end + template "/etc/shorewall/policy" do source "shorewall-policy.erb" owner "root" @@ -291,6 +299,14 @@ unless node.interfaces(:family => :inet6).empty? notifies :restart, "service[shorewall6]" end + template "/etc/shorewall6/conntrack" do + source "shorewall-conntrack.erb" + owner "root" + group "root" + mode 0o644 + notifies :restart, "service[shorewall6]" + end + template "/etc/shorewall6/policy" do source "shorewall-policy.erb" owner "root"