diff --git a/v2ray-core/files/usr/bin/v2ray-rules b/v2ray-core/files/usr/bin/v2ray-rules index 695f2819d..982ef92f2 100755 --- a/v2ray-core/files/usr/bin/v2ray-rules +++ b/v2ray-core/files/usr/bin/v2ray-rules @@ -275,7 +275,7 @@ v2r_rules_iptchains_mkprerules() { local proto="$1" if [ -z "$o_ifnames" ]; then - echo "-I PREROUTING 1 -p $proto -j v2r_${rule}_pre_src" + echo "-A PREROUTING -p $proto -j v2r_${rule}_pre_src" else echo $o_ifnames \ | tr ' ' '\n' \ diff --git a/v2ray-core/files/usr/bin/v2ray-rules6 b/v2ray-core/files/usr/bin/v2ray-rules6 index 952d64b04..fdc383586 100755 --- a/v2ray-core/files/usr/bin/v2ray-rules6 +++ b/v2ray-core/files/usr/bin/v2ray-rules6 @@ -266,7 +266,7 @@ v2ray_rules6_iptchains_mkprerules() { local proto="$1" if [ -z "$o_ifnames" ]; then - echo "-I PREROUTING 1 -p $proto -j v2r6_${rule}_pre_src" + echo "-A PREROUTING -p $proto -j v2r6_${rule}_pre_src" else echo $o_ifnames \ | tr ' ' '\n' \