move defaults to variables and clean up
This commit is contained in:
parent
6c659413c2
commit
c9088a7a24
2 changed files with 32 additions and 16 deletions
|
|
@ -3,6 +3,7 @@ firewall:
|
|||
all:
|
||||
statement: accept
|
||||
matches: ~
|
||||
priority: 1000
|
||||
input: {}
|
||||
forward: {}
|
||||
output: {}
|
||||
|
|
@ -12,9 +13,32 @@ firewall:
|
|||
nat6_postrouting: {}
|
||||
chains:
|
||||
input:
|
||||
"statefull-invalid":
|
||||
matches: ct state invalid
|
||||
priority: 240
|
||||
statement: drop
|
||||
"statefull-accept":
|
||||
matches: ct state established,related
|
||||
priority: 250
|
||||
allow_localhost:
|
||||
matches: iif lo
|
||||
priority: 500
|
||||
allow_icmp:
|
||||
matches: ip protocol icmp
|
||||
priority: 500
|
||||
allow_icmp6:
|
||||
matches: ip6 nexthdr icmpv6
|
||||
priority: 500
|
||||
allow_ssh: tcp dport ssh
|
||||
output: {}
|
||||
forward: {}
|
||||
forward:
|
||||
"statefull-invalid":
|
||||
matches: ct state invalid
|
||||
priority: 240
|
||||
statement: drop
|
||||
"statefull-accept":
|
||||
matches: ct state established,related
|
||||
priority: 250
|
||||
nat_prerouting: {}
|
||||
nat_postrouting: {}
|
||||
nat6_prerouting: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue