Genymotion proxy with user/password

前端 未结 2 781
走了就别回头了
走了就别回头了 2020-12-24 09:29

I\'m running Android through Genymotion using the following configuration:

  • For the Host-Only I used 192.168.1.213 and DHCP allocates addresses starting with 19
2条回答
  •  一生所求
    2020-12-24 10:10

    Your IP configuration looks correct. There is two connection between genymotion and your host.

    • The first one is only technical, to allow Genymotion to run (host only).
    • The other one is the one that will be used when trying to get internet from Genymotion. (NAT)

    In Genymotion Settings, under proxy settings, you will be able to set your username & password for your proxy.

    Genymotion network settings

    If you want to do more complex authentication schemes, like NTLM or Kerberos, Genymotion won't work. But as a workaround, you could use tools like Cntlm, or NtlmAps, that will provide a local, non authenticated, proxy and take care of upstream proxy authentication for Genymotion.

    This settings will only work for the sofware Genymotion. Inside Android, you will also need to set a proxy in the settings. Go to: Settings -> Wi-Fi -> Long Click on "WiredSSID" -> Modify network -> Check "show advanced settings".

    wi-fi network settings of Android

    As mentionned there, the proxy will only works for the Browser, and maybe Gmail also. You will need to set it also on the settings of each app you trying to use. Not all of your apps will provide a proxy setting. I think Twitter does, but if your app doesn't provide one, you're screwed!

提交回复
热议问题