mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-17 06:02:25 -04:00
nftables: use notrack accept instead of notrack
This commit is contained in:
parent
f7da683012
commit
fdf21af1ae
6 changed files with 38 additions and 38 deletions
|
@ -6,17 +6,17 @@ table inet filter {
|
|||
chain prerouting-raw {
|
||||
type filter hook prerouting priority raw
|
||||
|
||||
iif lo notrack
|
||||
tcp dport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
iif lo notrack accept
|
||||
tcp dport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain output-raw {
|
||||
type filter hook output priority raw
|
||||
|
||||
oif lo notrack
|
||||
tcp sport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
oif lo notrack accept
|
||||
tcp sport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
|
|
@ -6,17 +6,17 @@ table inet filter {
|
|||
chain prerouting-raw {
|
||||
type filter hook prerouting priority raw
|
||||
|
||||
iif lo notrack
|
||||
tcp dport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
iif lo notrack accept
|
||||
tcp dport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain output-raw {
|
||||
type filter hook output priority raw
|
||||
|
||||
oif lo notrack
|
||||
tcp sport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
oif lo notrack accept
|
||||
tcp sport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
|
|
@ -6,19 +6,19 @@ table inet filter {
|
|||
chain prerouting-raw {
|
||||
type filter hook prerouting priority raw
|
||||
|
||||
iif lo notrack
|
||||
udp dport 53 notrack
|
||||
tcp dport {22, 53} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
iif lo notrack accept
|
||||
udp dport 53 notrack accept
|
||||
tcp dport {22, 53} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain output-raw {
|
||||
type filter hook output priority raw
|
||||
|
||||
oif lo notrack
|
||||
udp sport 53 notrack
|
||||
tcp sport {22, 53} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
oif lo notrack accept
|
||||
udp sport 53 notrack accept
|
||||
tcp sport {22, 53} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
|
|
@ -6,17 +6,17 @@ table inet filter {
|
|||
chain prerouting-raw {
|
||||
type filter hook prerouting priority raw
|
||||
|
||||
iif lo notrack
|
||||
tcp dport {22, 25, 80, 465, 993} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
iif lo notrack accept
|
||||
tcp dport {22, 25, 80, 465, 993} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain output-raw {
|
||||
type filter hook output priority raw
|
||||
|
||||
oif lo notrack
|
||||
tcp sport {22, 25, 80, 465, 993} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
oif lo notrack accept
|
||||
tcp sport {22, 25, 80, 465, 993} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
|
|
@ -6,17 +6,17 @@ table inet filter {
|
|||
chain prerouting-raw {
|
||||
type filter hook prerouting priority raw
|
||||
|
||||
iif lo notrack
|
||||
tcp dport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
iif lo notrack accept
|
||||
tcp dport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain output-raw {
|
||||
type filter hook output priority raw
|
||||
|
||||
oif lo notrack
|
||||
tcp sport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
oif lo notrack accept
|
||||
tcp sport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
|
|
@ -6,17 +6,17 @@ table inet filter {
|
|||
chain prerouting-raw {
|
||||
type filter hook prerouting priority raw
|
||||
|
||||
iif lo notrack
|
||||
tcp dport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
iif lo notrack accept
|
||||
tcp dport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain output-raw {
|
||||
type filter hook output priority raw
|
||||
|
||||
oif lo notrack
|
||||
tcp sport {22, 80, 443} notrack
|
||||
meta l4proto {icmp, ipv6-icmp} notrack
|
||||
oif lo notrack accept
|
||||
tcp sport {22, 80, 443} notrack accept
|
||||
meta l4proto {icmp, ipv6-icmp} notrack accept
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue