13

How can I change proxy settings for Google Chrome without changing the proxy settings for entire operating system? I know that I can go to Network in System preferences, but that changes proxy settings globally.

Is is possible to do it just for Chrome? Firefox for example doesn't require changing global proxy settings.

EDIT: I am open for dirty hacks too :D

2 Answers 2

10

You have to pass the proxy argument to Chrome on the command line. Run something like:

open -a "Google Chrome" --args --proxy-server=http://my-proxy.com
2
  • Does this work for sock5 proxy?
    – majorgear
    Jan 6 at 20:26
  • To make it work with socks5 proxy use --proxy-server=socks5://proxy instead.
    – trigoman
    Jul 28 at 23:08
5

You can set proxies per-profile using the extension Proxy SwitchyOmega. This is a very popular extension, however you should consider the risks of trusting this (or any) extension that can modify your browser settings, page content, etc.

1
  • This solved my problem with target system traffic on VPN not being recorded with the system proxy. Dec 16, 2020 at 0:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .