Step-by-Step: Using BlueStacks AppPlayer From Behind a Proxy
BlueStacks AppPlayer is a software that brings Android applications to PCs and Mac. This tutorial will show you how to install and use BlueStacks from behind an HTTP proxy.
A regular HTTP proxy is sufficient to provide access to the internet to BlueStacks itself and to the most of Android apps. A small amount of Android apps use network protocols other than HTTP and HTTPS. In order to proxify these latter apps, you will need a SOCKS or SSH proxy server instead.
The instructions below should apply to Mac OS X too as the setup procedure is very similar.
This tutorial has been written for the version 0.8.0.2997 of BlueStacks. If you determine that this tutorial is outdated, then please feel free to let us know by sending an email via our contact form.
Download and install ProxyCap. Restart your system when the setup program asks you to do so.
If you already have BlueStacks installed, skip to the next step. Otherwise, download the BlueStacks installer, and then run it. After installation completes, the installer will automatically launch BlueStacks. If your access to the internet is through the proxy server only, BlueStacks may stuck with the status "Downloading runtime data" or you may see a black screen. In any case, quit BlueStacks for the time being (right-click on the BlueStacks taskbar icon, and the click Quit).
Configure ProxyCap to work with BlueStacks (Typical Configuration)
We must define 2 separate proxy servers: HTTP and HTTPS. First let's add the HTTP proxy.
Right click on the ProxyCap taskbar icon and choose Configuration.
Click the Proxies category.
Select HTTP from the Type drop down list.
Now add the HTTPS proxy. Set the type of the proxy server to HTTPS. The server address and the authorization settings should be the same as for the HTTP proxy.
Now let's create ProxyCap routing rules for BlueStacks. We will add 2 rules: one for the HTTP connections and the other for HTTPS.
Click the Rules category.
In the Rule Action section, select the display name of the HTTP proxy server from the drop down list.
Navigate to the BlueStacks program folder. It is located in Program Files on 32-bit Windows or
in Program Files (x86) on 64-bit Windows.
In the Destination Port Range section, click Specify, then type 80 in the first port field.
Now add one more "redirect" rule for HD-Network.exe but with the following changes:
Click OK to save the configuration.
You are done, run BlueStacks and enjoy!
Configure ProxyCap to work with BlueStacks (Extended Configuration)
The above configuration is sufficient if your system uses a proxy server to connect to the internet. Besides HD-Network.exe, there are 2 other BlueStacks program files (HD-Agent.exe and HD-Frontend.exe) that require an internet access, but, unlike HD-Network.exe, they respect the system proxy settings. So this extra configuration step makes sense only if your system does NOT use a proxy server.
Select the first entry in the rule list.
Select the Programs tab.
Add HD-Agent.exe and HD-Frontend.exe to the Program list.
Repeat the procedure above to add HD-Agent.exe and HD-Frontend.exe to the Program list in the second rule.
© 2018, Proxy Labs. All rights reserved.