Once the domain of Windows clients, more MacBooks and iMacs are finding their way onto small business and corporate networks. These networks typically funnel all Internet-bound traffic through a number of proxy servers.
Any application that requires Internet access will need point traffic towards them. Of course, the network itself usually will not tell you to do so, so we’ll need to tell our Mac to use them.
Proxies can be configured a number of ways, depending on your needs. Desktop applications use the network settings found under System Preferences. However, anything executed from a terminal window may require alternative settings.
Terminal
Developers, DevOps, and administrators spend a lot of their time in Terminal. Unfortunately, the proxy settings set in System Preferences won’t apply here. Instead, we’ll need to set a few environment variables: http_proxy, https_proxy, and no_proxy.