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
google-chrome --proxy-server="127.0.0.1:8080"?http_proxy,https_proxy,HTTP_PROXY, andHTTPS_PROXY) then runs the given command. Also, with ref to @roaima's answer, the value of the env var typically ishttpnothttps. So basically in your case, tryhttps_proxy=http://127.0.0.1:8080and thenHTTPS_PROXY=http://127.0.0.1:8080