Home » Android » android – Genymotion proxy with user/password

android – Genymotion proxy with user/password

Posted by: admin May 14, 2020 Leave a comment


I’m running Android through Genymotion using the following configuration:

  • For the Host-Only I used and DHCP allocates addresses starting with
  • My computer is behind a Squid proxy that has user and password, and address with port 4444

I start the Android VM and in Genymotion Configuration I can see IP Management to be IP I can also ping this address from my computer with success, so all good until here.

If I go to Menu -> Settings -> Wireless & Networks -> Wi-Fi -> WiredSSID -> Modify Network, I see IP address – why is that?

Also, if I try to configure proxy, all I get is host and port, but no options for user/pass, so when I try to access a page in the browser, it says that proxy authentication doesn’t work.

Is there a way to configure Android to work through my proxy? If so, what should I configure?

Thank you

How to&Answers:

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
  • 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!


I found a much simpler solution.
All you have to do is to create a rule in proxifier which will let genymotion to use the host default ip. In this way it will manage to connect to the oracle virtual machine ( which has no problem with working with proxifier; obviously, in proxifier you will setup your proxy with its authentication credentials).