This commit is contained in:
2024-07-04 19:04:55 +00:00
parent 5ac7e482ea
commit 4dae39b470
15 changed files with 156 additions and 6 deletions

View File

@@ -5,9 +5,9 @@ flush ruleset
table inet filter {
chain input {
type filter hook input priority filter;
{% for port in open_ports %}
iifname "{{ port.interface }}" {{ port.protocol }} dport {{ port.port }} accept
{% endfor %}
{% for port in open_ports %}
iifname "{{ port.interface }}" {{ port.protocol }} dport {{ port.port }} accept;
{% endfor %}
}
chain forward {
type filter hook forward priority filter;