Browse Source

add the option to specify the family per rule to support ipv6

pull/3/head
Dennis van Dok 8 years ago
parent
commit
789bbb8e0e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      iptables/_rule.sls

+ 3
- 0
iptables/_rule.sls View File

@@ -11,6 +11,9 @@ iptables_{{ chain_name }}_{{ rule_name }}:
{%- endif %}
- table: {{ rule.get('table', 'filter') }}
- chain: {{ chain_name }}
{%- if rule.family is defined %}
- family: {{ rule.family }}
{%- endif %}
{%- if rule.jump is defined %}
- jump: {{ rule.jump }}
{%- endif %}

Loading…
Cancel
Save