Using OpenVPN after Shadowrocket caused a connection issue

I use v2ray config (TUIC) to connect to free internet because of restricted internet in my country. I use Shadowrocket as a client on my Mac. After that, I connect to my server with Shadowrocket. If I run an openvpn configuration on my Mac, I cannot ping or port scan other hosts in the private network. Can you guys tell me what is wrong?
I know this problem is for Shadowrocket because when I use Nordvpn and OpenVPN, I can ping or port scan other hosts on a private network. I tried using openvpnā€™s tcp and udp configurations, but they did not work. My VPN configuration is udp. I also tried TCP configurations.