]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/shorewall-interfaces.erb
Remove roles for fuchur, glaedr, gorwen, idris and lockheed
[chef.git] / cookbooks / networking / templates / default / shorewall-interfaces.erb
index 89d8a2d54ae8a5887606a358c267787ab7b86dff..b6a7217270e226731eb789a0492f37ad72502f83 100644 (file)
@@ -1,13 +1,15 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
-# ZONE INTERFACE       BROADCAST       OPTIONS
+?FORMAT 2
+
+# ZONE INTERFACE       OPTIONS
 <% node[:networking][:interfaces].each do |name,interface| -%>
-<% if interface[:family] == "inet" -%>
+<% if interface[:interface] && interface[:family] == "inet" -%>
 <% if interface[:role] == "internal" -%>
-loc    <%= interface[:interface] %>            detect          nosmurfs,tcpflags
+loc    <%= interface[:interface] %>            nosmurfs,tcpflags
 <% elsif interface[:role] == "external" -%>
-net    <%= interface[:interface] %>            detect          nosmurfs,tcpflags
+net    <%= interface[:interface] %>            nosmurfs,tcpflags
 <% end -%>
 <% end -%>
 <% end -%>
-loc    tun+            detect          nosmurfs,tcpflags
+loc    wg+             nosmurfs,tcpflags