more firewall configs
This commit is contained in:
parent
ff6649ab71
commit
aa242b0327
6 changed files with 20 additions and 1 deletions
3
group_vars/bank.yaml
Normal file
3
group_vars/bank.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
nft: true
|
|
@ -1,6 +1,9 @@
|
||||||
|
|
||||||
root_access:
|
root_access:
|
||||||
- ak
|
- ak
|
||||||
- foobar
|
- foobar
|
||||||
- linor
|
- linor
|
||||||
- polyfloyd
|
- polyfloyd
|
||||||
- wilco
|
- wilco
|
||||||
|
|
||||||
|
nft: true
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
|
---
|
||||||
|
|
||||||
forgejo_url: https://git.bitlair.nl
|
forgejo_url: https://git.bitlair.nl
|
||||||
|
|
||||||
|
nft: false
|
||||||
|
|
3
group_vars/lights.yaml
Normal file
3
group_vars/lights.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
nft: true
|
6
group_vars/mqtt.yaml
Normal file
6
group_vars/mqtt.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
nft: true
|
||||||
|
|
||||||
|
nft_group_rules:
|
||||||
|
- { version: "ip6", from: [ '2001:470:7f95::/48' ], port: "1883" }
|
|
@ -81,7 +81,7 @@ set trusted6 {
|
||||||
{% if custom.comment is defined %}
|
{% if custom.comment is defined %}
|
||||||
# {{ custom.comment|default('') }}
|
# {{ custom.comment|default('') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
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 %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue