]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-interfaces.erb
Add alerts for planet dumps and replication feeds
[chef.git] / cookbooks / networking / templates / default / shorewall-interfaces.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 ?FORMAT 2
4
5 # ZONE  INTERFACE       OPTIONS
6 <% node[:networking][:interfaces].each do |name,interface| -%>
7 <% if interface[:interface] && interface[:family] == "inet" -%>
8 <% if interface[:role] == "internal" -%>
9 loc     <%= interface[:interface] %>            nosmurfs,tcpflags
10 <% elsif interface[:role] == "external" -%>
11 net     <%= interface[:interface] %>            nosmurfs,tcpflags
12 <% end -%>
13 <% end -%>
14 <% end -%>
15 loc     wg+             nosmurfs,tcpflags
16 dock    docker0         bridge