3

I'm using ParrotSec (Debian based) and installed Google Chrome recently. Unlike Firefox, Google Chrome doesn't have an option to set a proxy in the UI instead it uses system proxy. In my case, I wanted it to work with Burp Suite and need Chrome traffic to go through the proxy http://127.0.0.1:8080.

I tried the following commands on terminal. Each one opens Chrome, but the proxy doesn't work. Chrome is directly connecting to internet.

google-chrome --proxy-server="https://127.0.0.1:8080"
google-chrome --proxy-server="https=127.0.0.1:8080"
google-chrome --proxy-server="http://127.0.0.1:8080"
google-chrome --proxy-server="http=127.0.0.1:8080"

None of them worked. Proxy is working perfectly in Firefox, but not in Chrome. Any idea what's happening?

Additional info: I'm using the OVA downloaded from ParrotSec in Virtual Box and the desktop environment is mate 1.24.0. I verified the --proxy-server flag exist by typing man google-chrome-stable

11
  • 1
    I really doubt this would be the issue, but just for the sake of completeness can you also try google-chrome --proxy-server="127.0.0.1:8080"? Commented Sep 18, 2020 at 12:35
  • I already tried it without the quotes. Will try with the quotes now. Update: not working. It's still connecting to internet directly. Commented Sep 18, 2020 at 12:36
  • You want to run google chrome with a different proxy to the rest of your system because you want one site to be passed through a proxy and not others. Is that correct? Commented Sep 18, 2020 at 13:38
  • 1
    @roaima I tried it but it doesn't work. Chrome directly connects to internet. Commented Sep 21, 2020 at 7:18
  • 1
    I've grown so tired of this that for years now I have been using a script which sets all 4 variables (http_proxy, https_proxy, HTTP_PROXY, and HTTPS_PROXY) then runs the given command. Also, with ref to @roaima's answer, the value of the env var typically is http not https. So basically in your case, try https_proxy=http://127.0.0.1:8080 and then HTTPS_PROXY=http://127.0.0.1:8080 Commented Sep 22, 2020 at 10:28

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.