fix: type filter for output

This commit is contained in:
root
2026-04-14 17:28:58 +04:00
parent b8ac297adb
commit 819111f953
+1 -2
View File
@@ -127,7 +127,7 @@ _nft_init() {
nft flush chain ip "$TABLE" prerouting
nft add rule ip "$TABLE" prerouting fib daddr type local accept
nft add chain ip "$TABLE" output { type route hook output priority -150 \; policy accept \; } 2>/dev/null
nft add chain ip "$TABLE" output { type filter hook output priority -150 \; policy accept \; } 2>/dev/null
nft flush chain ip "$TABLE" output
nft add rule ip "$TABLE" output fib daddr type local accept
@@ -343,7 +343,6 @@ _run() {
DNS_CHANGES=0; NEED_UPDATE=0; : > "$ACTIVE_LIST"
[ "$FULL_LOAD" = "1" ] && _wait_for_net
_wait_for_net
_nft_init
_log "main: processing data sections" "debug"