Restrict outbound traffic in exam-mode
This commit is contained in:
parent
806220fca1
commit
a75934ca0b
3 changed files with 30 additions and 0 deletions
10
roles/lmn_exam/templates/no-way-out.xml.j2
Normal file
10
roles/lmn_exam/templates/no-way-out.xml.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<policy target="REJECT">
|
||||
{% for address in exam_destination_allowed_ipv4 %}
|
||||
<rule family="ipv4">
|
||||
<destination address="{{ address }}"/>
|
||||
<accept/>
|
||||
</rule>
|
||||
{% endfor %}
|
||||
<ingress-zone name="{{ item }}"/>
|
||||
<egress-zone name="ANY"/>
|
||||
</policy>
|
||||
Loading…
Add table
Add a link
Reference in a new issue