From 2e25c754f3ae21cfb28960abf27900c601fce865 Mon Sep 17 00:00:00 2001 From: Wang Sen Di Date: Tue, 25 Nov 2025 13:55:14 +0800 Subject: [PATCH] - --- netflow/iptables.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netflow/iptables.sh b/netflow/iptables.sh index 8b01983..74721d4 100644 --- a/netflow/iptables.sh +++ b/netflow/iptables.sh @@ -5,6 +5,8 @@ if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi __main() { : + # 切换到系统默认的legacy + update-alternatives --set iptables /usr/sbin/iptables-legacy _owner_id=50000 _chain_name="output_netflow_owner_${_owner_id}"