]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/shorewall-interfaces.erb
Add a systemd-resolved FallbackDNS list
[chef.git] / cookbooks / networking / templates / default / shorewall-interfaces.erb
index d8a5705d27b8ee4370ca7ca4c52a32f4a5c0dc72..4701b9641cc20540a1d90c4c53b316996f9d7737 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[: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    tun+            nosmurfs,tcpflags