]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-rules.erb
Allow openvpn connections over IPv6
[chef.git] / cookbooks / networking / templates / default / shorewall-rules.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <% if node[:lsb][:release].to_f >= 16.04 -%>
4 ?SECTION NEW
5 <% else -%>
6 SECTION NEW
7 <% end -%>
8
9 # ACTION        SOURCE  DEST    PROTO           DEST            SOURCE  ORIGINAL        RATE    USER    MARK    CONNLIMIT
10 #                                               PORTS           PORTS   DEST            LIMIT
11 <% node[:networking][:firewall][@family].each do |r| # ~FC034 -%>
12 <%= r[:action] %>               <%= r[:source] %>       <%= r[:dest] %> <%= r[:proto] %>                <%= r[:dest_ports] %>   <%= r[:source_ports] %> -       <%= r[:rate_limit] %>   -       -       <%= r[:connection_limit] %>
13 <% end -%>