ruleset: reuse zone-jump.uc template for notrack and helper chain jumps
[project/firewall4.git] / root / usr / share / firewall4 / templates / zone-jump.uc
1 {%+ if (rule.family): -%}
2 meta nfproto {{ fw4.nfproto(rule.family) }} {%+ endif -%}
3 {%+ include("zone-match.uc", { egress: (direction in ["output", "srcnat"]), rule }) -%}
4 jump {{ direction }}_{{ zone.name }} comment "!fw4: Handle {{ zone.name }} {{
5 fw4.nfproto(rule.family, true)
6 }} {{ direction }} {{ (direction == 'helper') ? "assignment" : "traffic" }}"