Commit acc3ad9f authored by Ad Schellevis's avatar Ad Schellevis

(traffic shaper) add basic shaper rules to template

parent 485225f4
......@@ -121,6 +121,15 @@ add 30000 set 0 count ip from any to any
# traffic shaping section, authorized traffic
#======================================================================================
add 60000 return via any
{% if helpers.exists('OPNsense.TrafficShaper.rules.rule') %}
{% for rule in OPNsense.TrafficShaper.rules.rule %}
add {{loop.index + 60000}} pipe {{ rule.pipe }} {{ rule.proto }} via {{ rule.interface }}
{% endfor %}
{% endif %}
# pass authorized
add 65533 pass ip from any to any
# block all unmatched
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment