forked from bitlair/ansible
Linter + Dashboard fixes
This commit is contained in:
parent
e1bf3e1765
commit
abc64144a8
44 changed files with 265 additions and 379 deletions
|
@ -73,15 +73,15 @@ set trusted6 {
|
|||
} accept
|
||||
|
||||
# Open ssh only for trusted machines
|
||||
ip saddr @trusted4 tcp dport { {{ trusted_ports|join(', ') }} } accept
|
||||
ip6 saddr @trusted6 tcp dport { {{ trusted_ports|join(', ') }} } accept
|
||||
ip saddr @trusted4 tcp dport { {{ trusted_ports | join(', ') }} } accept
|
||||
ip6 saddr @trusted6 tcp dport { {{ trusted_ports | join(', ') }} } accept
|
||||
|
||||
# Rules based on group-vars
|
||||
{% for custom in nft_group_rules %}
|
||||
{% if custom.comment is defined %}
|
||||
# {{ custom.comment|default('') }}
|
||||
# {{ custom.comment | default('') }}
|
||||
{% endif %}
|
||||
{{ custom.version|default('ip') }} saddr { {{ custom.from | join(', ') }} } {{ custom.proto | default('tcp') }} dport { {{ custom.port }} } {{ custom.policy | default('accept') }}
|
||||
{{ custom.version | default('ip') }} saddr { {{ custom.from | join(', ') }} } {{ custom.proto | default('tcp') }} dport { {{ custom.port }} } {{ custom.policy | default('accept') }}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue