fix: type filter for output
This commit is contained in:
+1
-2
@@ -127,7 +127,7 @@ _nft_init() {
|
|||||||
nft flush chain ip "$TABLE" prerouting
|
nft flush chain ip "$TABLE" prerouting
|
||||||
nft add rule ip "$TABLE" prerouting fib daddr type local accept
|
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 flush chain ip "$TABLE" output
|
||||||
nft add rule ip "$TABLE" output fib daddr type local accept
|
nft add rule ip "$TABLE" output fib daddr type local accept
|
||||||
|
|
||||||
@@ -343,7 +343,6 @@ _run() {
|
|||||||
DNS_CHANGES=0; NEED_UPDATE=0; : > "$ACTIVE_LIST"
|
DNS_CHANGES=0; NEED_UPDATE=0; : > "$ACTIVE_LIST"
|
||||||
|
|
||||||
[ "$FULL_LOAD" = "1" ] && _wait_for_net
|
[ "$FULL_LOAD" = "1" ] && _wait_for_net
|
||||||
_wait_for_net
|
|
||||||
_nft_init
|
_nft_init
|
||||||
|
|
||||||
_log "main: processing data sections" "debug"
|
_log "main: processing data sections" "debug"
|
||||||
|
|||||||
Reference in New Issue
Block a user