]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-interfaces.erb
move nominatim tablespace configuration to server roles
[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[: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