]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-interfaces.erb
Push creation time for hourly and daily diffs back a little
[chef.git] / cookbooks / networking / templates / default / shorewall-interfaces.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # ZONE  INTERFACE       BROADCAST       OPTIONS
4 <% node[:networking][:interfaces].each do |name,interface| -%>
5 <% if interface[:interface] && interface[:family] == "inet" -%>
6 <% if interface[:role] == "internal" -%>
7 loc     <%= interface[:interface] %>            detect          nosmurfs,tcpflags
8 <% elsif interface[:role] == "external" -%>
9 net     <%= interface[:interface] %>            detect          nosmurfs,tcpflags
10 <% end -%>
11 <% end -%>
12 <% end -%>
13 loc     tun+            detect          nosmurfs,tcpflags