I'm trying to Configure and Connect to VPN in Genymotion Virutal Device, I can configure VPN connection in the Virtual Device but unable to Connect, No error showing.
I used same settings in my PC and Real Android Devices, Its working fine in the device and PC.
I think Its problem with VirtualBox, But I don't know how to resolve it
System Details:
Genymotion is an Android Emulator that is faster than the Android Studio Emulator. Genymotion emulator offers a wide range of virtual devices for development, test, and demonstration purpose.
Genymotion is based on virtualization. Make sure your CPU virtualization technology feature (Intel VT-x or AMD-V) is enabled in your computer motherboard BIOS. Another option might be to increase the RAM allotted to your Genymotion device.
Genymotion use Virtual Box, you need open this and set the connection Bridged instead NAT, power on the Android Genymotion VM in Genymotion APP and set VPN.
Solution 1 :
Install a VPN application on the virtual device like VPNSecure or SecureVPN or the one from your provider, otherwise you could use OpenVPN application
Solution 2 :
Connect to your VPN in you host machine (you can disable binding your vpn connection to avoid passing through all the application)
Then you can force player.exe and genymotion.exe to use a specific network card (your vpn virtual network card/ip) a solution could be forcebindip
http://old.r1ch.net/stuff/forcebindip/
ForceBindIP.exe -i 192.168.1.25 "C:\Program Files\Genymobile\Genymotion\genymotion.exe"
where 192.168.1.25 is the ip of the interface you want to use
This application redirect any connection to a specific interface and keep it there.
Note : As this program is source closed you could be skeptical in a perspective of using it all the time, i personally disassembled it and checked every action and it seem that it's a clean application.
Solution 3 (Best):
On top of genymotion, install virtual box (i think you need to have virtual box before using genymotion) then when you run virtualbox application it will display your virtual android device, you can then set the different advanced setting directly on virtualbox application like so :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With