Connect to VPN in Genymotion Android

后端 未结 4 765
不知归路
不知归路 2020-12-29 08:06

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.

相关标签:
4条回答
  • 2020-12-29 08:08

    This worked for me:

    Open virtual box, find the Genymotion device -> settings -> network.

    I had two adapters set much like in initika's answer (3rd option screenshots). What I did was close the device, then disable the first adapter (host only) and leave the second adapter set to NAT. Then I restarted the device. and saw that it could now access the private network.

    0 讨论(0)
  • 2020-12-29 08:10

    I had a similar issue and what I did to solve it was:

    1. Open virtual box, find the Genymotion device -> settings -> network.

    2. Choose the "Adapter 2".

    3. Change the Attached to option to "Bridge Adapter".

    4. Select the network card from your PC.

    0 讨论(0)
  • 2020-12-29 08:16

    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 :

    Capture 1

    Capture 2

    0 讨论(0)
  • 2020-12-29 08:32

    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.

    0 讨论(0)
提交回复
热议问题