This commit is contained in:
2024-08-05 16:16:34 -04:00
parent 6bebad7881
commit f96e20348a
87 changed files with 123 additions and 5455 deletions

View File

@@ -1,18 +0,0 @@
#!/usr/sbin/nft -f
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 %}
}
chain forward {
type filter hook forward priority filter;
}
chain output {
type filter hook output priority filter;
}
}