]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-rules.erb
Add basic infrastructure for wireguard tunnels
[chef.git] / cookbooks / networking / templates / default / shorewall-rules.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 ?SECTION NEW
4
5 # ACTION       SOURCE    DEST  PROTO           DEST            SOURCE  ORIGINAL        RATE    USER/   MARK    CONNLIMIT  TIME  HEADERS  SWITCH  HELPER
6 #                                              PORTS           PORTS   DEST            LIMIT   GROUP
7 <% node[:networking][:firewall][@family].each do |r| # ~FC034 -%>
8 <%= r[:action] %>               <%= r[:source] %>       <%= r[:dest] %> <%= r[:proto] %>                <%= r[:dest_ports] %>   <%= r[:source_ports] %> -       <%= r[:rate_limit] %>   -       -       <%= r[:connection_limit] %> -   -       - <%= r[:helper] %>
9 <% end -%>