feat: nftables logging
This commit is contained in:
parent
54745d09a1
commit
4dbecdcc5b
1 changed files with 7 additions and 5 deletions
|
|
@ -6,19 +6,21 @@ table inet filter {
|
|||
chain input {
|
||||
type filter hook input priority filter; policy drop;
|
||||
|
||||
ct state invalid counter drop
|
||||
#tcp dport 32768-40960 counter meta nftrace set 1 accept comment "WoW VoiceError:17"
|
||||
|
||||
iif "lo" counter accept
|
||||
ip protocol {icmp,icmpv6} counter accept
|
||||
ct state invalid counter drop
|
||||
ct state {established,related} counter accept
|
||||
|
||||
counter comment "dropped"
|
||||
iif "lo" counter accept
|
||||
ip protocol {icmp,icmpv6} counter accept
|
||||
|
||||
counter meta nftrace set 1 comment "dropped"
|
||||
}
|
||||
|
||||
chain forward {
|
||||
type filter hook forward priority filter; policy drop;
|
||||
|
||||
counter comment "dropped"
|
||||
counter meta nftrace set 1 comment "dropped"
|
||||
}
|
||||
|
||||
chain output {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue