Fixed localhost output firewall rule not using correct selector.
This commit is contained in:
@@ -12,7 +12,7 @@ table inet filter {
|
||||
ct state invalid counter drop comment "drop invalid"
|
||||
meta l4proto { icmp, ipv6-icmp } counter accept comment "accept ICMP"
|
||||
|
||||
tcp dport ssh ct state { new } counter accept comment "accept new SSH connections"
|
||||
tcp dport ssh ct state new counter accept comment "accept new SSH connections"
|
||||
|
||||
counter comment "count any other dropped traffic"
|
||||
}
|
||||
@@ -20,7 +20,7 @@ table inet filter {
|
||||
chain output {
|
||||
type filter hook output priority filter; policy drop;
|
||||
|
||||
iif lo counter accept comment "accept any localhost traffic"
|
||||
oif lo counter accept comment "accept any localhost traffic"
|
||||
ct state { established, related } counter accept comment "accept established,related"
|
||||
ct state invalid counter drop comment "drop invalid"
|
||||
meta l4proto { icmp, ipv6-icmp } counter accept comment "accept ICMP"
|
||||
|
||||
Reference in New Issue
Block a user