How to find local IP when connected to VPN?
Android's VPN uses TUN interface on OSI Layer 3. So you can find what IP is assigned to that interface using Android's built-in command ip. From any terminal app or adb shell:

~$ ip addr | awk '/inet.*tun/ {print $2}'