Quickly switch your Mac’s proxy settings on and off

My Internet connection at work requires proxy settings, but I have to turn the proxy off when I connect using the Macbook at home. Each time I do this, I have to manually change the configuration, then put it back again when I get to the office the next day.

I searched online for solutions to make the switch easier for me, and I found AskDifferent user MorganR‘s suggestion to use the Location 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.

In my case, after No. 3, I just used “Duplicate Location” and renamed it to “Proxy On” so that I won’t need to enter the proxy details again. I made sure that the proxy settings for this location are checked. I then added another location and just renamed it “Proxy Off.”

Here’s how to use this feature:

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.

Leave a Reply