The other answers are way out of date.
BlueStacks installations now includes a command-line utility
HD-ConfigHttpProxy.exe to setup a proxy connection. I can't find documentation for this utility anywhere but it's pretty basic:
Using BlueStacks with a Proxy Server
- Open BlueStacks. (It has to be open before running the utiity)
- Open a Windows command prompt.
- (eg. hit +R →
cmd → hit Enter )
- Change to the BlueStacks program folder.
cd C:\Program Files\BlueStacks )
HD-ConfigHttpProxy.exe set <host> <port> connect to specified proxy
HD-ConfigHttpProxy.exe reset reset/stop using proxy
HD-ConfigHttpProxy.exe set 126.96.36.1990 4444
- When prompted, close and re-open BlueStacks.
Alternatively, you can specify other proxy protocols by including it in the
<host> in standard syntax. For example, I used
socks://localhost and my custom port number. It took a couple tries but it worked eventually.
To disconnect / reset BlueStacks proxy settings :
- Make sure BlueStacks is running
- Open a command prompt
- Run command:
C:\Program Files\BlueStacks\HD-ConfigHttpProxy.exe reset
- Close and re-open BlueStacks.