MacOS – How to quick switch OSX proxy on/off

macmacosPROXY

I use SwitchySharp to quick switch between multi-proxies under Chrome broswer.

Now I want to move to Safari(I love its "Tap to Zoom" feature), but SwitchySharp only works in Chrome, there is no a counterpart in Safari extension.

So I wonder if there is a system level quick proxy switcher script or free app?

Best Answer

Have you tried using the Locations feature?

  1. Go to System Preferences > Network,
  2. Click on the "Location" dropdown menu,
  3. Choose "Edit Locations",
  4. Click on the add button and give the location a name. I would suggest you give it a name that's related to the proxy,
  5. Now that you've setup a new location, go through the networking configuration, ensuring you set the relevant proxy setting under the "Proxies" tab, which can be found under the Ethernet/WiFi adapter settings > Advanced.

Repeat steps 1-5 for each proxy.

Once you've finished, you can quickly switch between each proxy by clicking on the Apple icon (located at the top left of your screen) and going to "Location". Once the Location menu expands, you should see all your different locations, which have the relevant proxy settings within them. Clicking on the locations will change the proxy settings your Mac uses.