I found another parameter “allow-recursive-routing”
to make it work.
refer to Reference Manual For OpenVPN 2.5 | OpenVPN
So the revised script is:
sed -i 's/ifconfig-ipv6/ifconfig-ipv6 --mark 524288 --allow-recursive-routing/g' /lib/netifd/proto/ovpnclient.sh
sed -i '/proto_add_host_dependency/d' /etc/openvpn/scripts/ovpnclient-up
You can also edit .ovpn file by adding allow-recursive-routing
