Android: VpnService cutting off network access when VPN is on
I have extended VpnService
and trying to route all the traffic through it. I am able to connect to vpn successfully as I can see it in the status bar. But when I do so, I am not able to access anything over network. I have checked the sample repos available and I am doing all minimal things that I required to achieve this but it’s still not working for me.
The output for ip route looks like following when vpn is connected.