Proxy @ work, no proxy @ home

I own a MacBookAir and surf great from home (wi-fi with WPA2). From time to time, I'd want to bring it at work where I have a connection through proxy (i know address and port). If I do save the settings when I am at work, will I have to reopen settings page and remove proxy setting when reconnecting from home?


Solution 1:

You can configure two locations in your network settings and then configure the proxy for your work location in the advanced settings.

Solution 2:

You can setup two different network locations, one for home (no proxy) and one for work (with the proxy) and easily switch between them from the Apple menu.

  • Go to System Preferences > Network from the Apple menu
  • In the Locations dropdown, choose Edit Locations...
  • Click the "+" button to add a new location (call it "home" or any other name) and click Done
  • With this location chosen in the dropdown, modify your network settings (by clicking the Advanced button) and click Apply
  • In the Locations dropdown, choose Edit Locations...
  • Click the "+" button to add a new location (call it "work" or any other name) and click Done
  • With this location chosen in the dropdown, modify your network settings with the proxy (by clicking the Advanced button) and click Apply
  • You can switch between locations (i.e., network configurations) by going to the Apple menu and then to the Locations submenu, where you can choose the network configuration that you have setup for that location

See Making new locations in the Using network locations Apple support page.