I set up OpenVPN on my home ASUS router. I can connect from my Android phone using OpenVPN connect app. However I’m getting 10.8.0.x address and my home machines are in 192.168.0.x. What I have to do to get access to them?
Also, what I should do to go to internet through that VNP connection? Right now browser goes to internet directly ignoring VPN connection.
When you connect with the router for your other devices, but use the app on your phone you’re on two separate networks from the perspective of the Router.
Since your router is configured to tunnel all your LAN traffic you can safely disconnect from the app on your phone and so long as you are connected to your home WiFi, you’ll still be connecting through the tunnel and the phone will be on the same network as all your other devices from the Router’s perspective.
When you connect to the router’s WiFi, then connect to the VPN using the phone’s app, you basically build a tunnel within a tunnel. This is okay until you try to stream or cast media to other devices in your home. It won’t work because as far as your router is concerned, you’re not connected to the same network.
Hope this helps.
When you connect to your ASUS router using VPN, your VPN client is connected to a different subnet from your home network.
In your ASUS openVPN interface, find and change “VPN subenet/ mask” to the same as your home network. In your case, it is probably “192.168.0.0” “255.255.255.0”
Thanks for the response but I’m still not sure what to do. Maybe I didn’t explain correctly. I need 2 things from home VPN:
1 When I’m away from home with my phone and connected to the internet via some wifi (Starbucks for example), I want to turn VPN on and be able to access machines on my home network (192.168.0.x). I want to access files and maybe RDP
2 In the same scenario I want to connect to internet resources through my home provider, so if I’m visiting websites they see my home public IP, not Starbucks I’m sitting in.