alpine: don’t assume all public services are TCP either

This commit is contained in:
Timotej Lazar 2024-09-04 16:42:13 +02:00
parent ec4dcd4ffd
commit 6b1d871392

View file

@ -14,7 +14,7 @@ table inet filter {
ip6 saddr { {{ prefixes | ipv6 | join(', ') }} } {{ service.protocol.value }} dport { {{ ports }} } accept ip6 saddr { {{ prefixes | ipv6 | join(', ') }} } {{ service.protocol.value }} dport { {{ ports }} } accept
{% endif %} {% endif %}
{% else %} {% else %}
tcp dport { {{ ports }} } accept {{ service.protocol.value }} dport { {{ ports }} } accept
{% endif %} {% endif %}
{% endfor %} {% endfor %}