commit | 9540426989f40957f507fa4e0177c358653ec730 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Wed Jul 27 14:30:01 2016 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Wed Jul 27 14:30:01 2016 +0200 |
tree | 73a0f9626d0b59aaf16f930851d553ab72e6a663 | |
parent | b76b411057cbf3007235389ec828ff0e1e5a3a6d [diff] |
Allow using to-port option
diff --git a/iptables/_rule.sls b/iptables/_rule.sls index b0a2d80..e061306 100644 --- a/iptables/_rule.sls +++ b/iptables/_rule.sls
@@ -38,6 +38,9 @@ {%- 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 %}