If you need to route your Mac’s internet traffic through a proxy server—whether for privacy, bypassing regional restrictions, or accessing a corporate network—macOS gives you a few ways to do it. This guide walks you through adjusting proxy settings in System Settings (or System Preferences on older macOS versions), including how to set up automatic and manual configurations, and how to fix common problems.
What You’ll Need
- A Mac running macOS Ventura or later (for System Settings) or an earlier version (for System Preferences). The steps are similar, but menu names differ.
- The proxy server address and port number. This is usually provided by your network administrator, VPN service, or the service you’re using.
- If the proxy requires authentication, have the username and password ready.
- For automatic proxy configuration, you’ll need the URL of a PAC file or the address of a proxy auto-configuration server.
Step-by-Step
- Open Network Settings. On macOS Ventura and later, go to the Apple menu and select System Settings, then click Network in the sidebar. On older versions, go to System Preferences and click Network.
- Select your active network connection. In the Network settings, you’ll see a list of connections (Wi-Fi, Ethernet, etc.). Click the one you’re currently using (the one with a green dot).
- Open proxy settings. Click the Details… button (on newer macOS) or Advanced… (on older versions). Then click the Proxies tab at the top of the window.
- Configure automatic proxy (if you have a PAC file or auto-discovery). If you have a PAC file URL, check the box next to Automatic Proxy Configuration and enter the URL in the field. If you want macOS to try to discover the proxy automatically, check Auto Proxy Discovery as well. Then click OK.
- Configure a manual proxy. If you have a specific proxy server, check the box next to Web Proxy (HTTP) or Secure Web Proxy (HTTPS) (or both). Enter the server’s address (e.g.,
proxy.example.com) and port number (e.g.,8080) in the corresponding fields. - Enable authentication if needed. If your proxy requires a username and password, check Proxy server requires password and enter your credentials. Note that these are stored in your keychain.
- Configure SOCKS proxy (optional). If you need a SOCKS proxy (often used for SSH tunnels or certain apps), check SOCKS proxy and enter the server and port.
- Apply the settings. Click OK to close the details window, then click Apply (or Apply button) to save the changes. Your Mac will now use the proxy for the selected protocols.
Common Mistakes
- Entering the wrong port. The port is just as important as the address. Double-check that you’re using the correct port number—a typo here is a frequent cause of failure.
- Enabling both HTTP and HTTPS proxies when only one is needed. Some setups only require one. If you enable both but only have one server, the other may fail and block traffic.
- Forgetting to apply changes. After entering settings, you must click Apply for them to take effect. Closing the window without applying will discard your changes.
- Using the wrong network interface. If you’re on Wi-Fi but edit Ethernet settings, the proxy won’t apply. Make sure you select the active connection.
- Not checking the ‘Bypass proxy settings for these Hosts & Domains’ field. This field lets you exclude local or internal addresses from the proxy. If you don’t add your local network, you might have trouble accessing local devices.
Tips
- Use a PAC file for flexibility. If your network provides a PAC file, it can automatically decide which traffic goes through the proxy and which doesn’t, saving you from manual configuration.
- Test your proxy before relying on it. After applying, open a web browser and visit a site like
whatismyip.comto see if your IP reflects the proxy. Also try a site that shows HTTP headers to verify the proxy is being used. - Keep a note of your original settings. Before changing anything, screenshot or write down the current proxy settings. This makes it easy to revert if something goes wrong.
- Use the ‘Bypass’ field for local addresses. Add
localhost,127.0.0.1, and your local network (e.g.,192.168.*) to bypass the proxy for local traffic, which is usually faster and more reliable. - Consider using a proxy management tool. If you frequently switch between proxy configurations, apps like ProxyMan or SwitchyOmega (browser extension) can make it easier, but they’re not required for basic use.
Troubleshooting
- No internet after enabling proxy. This usually means the proxy server is unreachable or the address/port is wrong. Double-check the server address and port with your provider. Temporarily disable the proxy to confirm it’s the cause.
- Some sites load, others don’t. This often happens when the proxy doesn’t support HTTPS correctly or when the PAC file is incomplete. Try using only the HTTP proxy first, then add HTTPS if needed. Check if the site is on the bypass list.
- Authentication errors. If you get a login prompt repeatedly, your username or password may be incorrect. Also, ensure the proxy server actually requires authentication—some don’t, and entering credentials can cause issues.
- Proxy works in Safari but not in other apps. Some apps ignore system proxy settings. For those, you may need to configure the proxy within the app itself (e.g., in the app’s network settings).
- Changes not taking effect. Make sure you clicked Apply. Also, try restarting the app that needs the proxy (like your browser). In rare cases, a full restart of the Mac helps.
- Auto-discovery doesn’t work. This feature relies on DHCP or DNS. If your network doesn’t provide the proxy automatically, you’ll need to use manual or PAC configuration.
Frequently Asked Questions
How do I turn off proxy settings on my Mac?
Go to Network settings > Details > Proxies, and uncheck all the boxes that are checked. Then click OK and Apply. This will disable all proxy settings for that connection.
What is the difference between HTTP and HTTPS proxy?
An HTTP proxy handles regular web traffic (http://). An HTTPS proxy (often called a secure proxy or CONNECT proxy) handles encrypted traffic (https://). Many setups require both to be configured separately, but some proxies handle both on the same port.
Can I use a proxy for only some apps?
Yes, but not through the system settings alone. You can configure individual apps (like browsers or download managers) to use a proxy while leaving the system default unchanged. Some apps also have a ‘Use system proxy’ option that you can turn off.
Will a proxy slow down my internet?
It can, because your traffic is routed through an extra server. The impact depends on the proxy’s location and load. A nearby, well-maintained proxy may add negligible latency, while a distant or overloaded one can noticeably slow things down.
How do I find my proxy server address?
If you’re at work or school, ask your IT department. If you’re using a VPN or proxy service, check their website or documentation. You can also look in your network settings if a proxy was already configured—go to Details > Proxies and see what’s filled in.
Is it safe to use a public proxy?
Public proxies are risky. They can log your traffic, inject ads, or steal data. Only use proxies from trusted sources, and avoid entering sensitive information (like passwords or credit card numbers) when using a public proxy.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Factory Reset iPad If You Forgot Password
- Ubuntu in Windows Store: Which Editions Work?
- Secure Guest Account on Windows 11: Step-by-Step
- Stop Outlook From Changing Hyperlink Font
- Hiberfil.sys: What It Is & How to Delete It
- How to Make a Mask on Snapchat: Step-by-Step