Browse Source

Allow using to-port option

tags/2016.12
Filip Pytloun 8 years ago
parent
commit
9540426989
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      iptables/_rule.sls

+ 3
- 0
iptables/_rule.sls View File

@@ -38,6 +38,9 @@ iptables_{{ chain_name }}_{{ rule_name }}:
{%- if rule.to_destination is defined %}
- to-destination: {{ rule.to_destination }}
{%- endif %}
{%- if rule.to_port is defined %}
- to-port: {{ rule.to_port }}
{%- endif %}
{%- if rule.to_source is defined %}
- to-source: {{ rule.to_source }}
{%- endif %}

Loading…
Cancel
Save