What a proxy does and where to configure it
A proxy is a server that sits between your device and the websites you visit. When you connect through a proxy, the websites see the proxy's address instead of yours. You configure a proxy either in your operating system settings (which affects all traffic from your device) or in individual applications like your browser (which affects only that app).
The configuration process differs depending on whether you're using Windows, macOS, or Linux, and whether you want the proxy to work system-wide or just in your browser. Most people start with their browser because it's simpler and doesn't require administrator access.
Key Takeaways
- Browser-level proxy settings are faster to configure and affect only that browser, while system-wide settings require administrator access but apply to all applications.
- You need four pieces of information from your proxy provider: the proxy address (IP or hostname), the port number, and whether it requires a username and password.
- Windows, macOS, and Linux each have different menus for proxy settings, but the information you enter is the same across all three.
- Testing your proxy connection immediately after setup tells you whether the configuration worked or whether you need to adjust the settings.
Configuring a proxy in your web browser
Most browsers let you set a proxy without touching your operating system settings. In Chrome or Edge on Windows, go to Settings, then System, then Open your computer's proxy settings. This opens the Windows proxy panel, where you can enter your proxy details under "Manual proxy setup."
In Firefox, the process is different. Open Firefox, go to Settings, scroll to Network Settings, and select "Manual proxy configuration." Enter your proxy address and port in the HTTP Proxy field. If your proxy handles both HTTP and HTTPS traffic, enter the same address in the SSL Proxy field as well. If your proxy requires authentication, Firefox will prompt you for a username and password the first time you connect.
Safari on macOS uses your system proxy settings, so you cannot configure a proxy in Safari alone. You must set it at the operating system level (see the macOS section below).
Setting up a proxy on Windows
On Windows 10 or 11, open Settings, go to Network & Internet, then Proxy. Under "Manual proxy setup," toggle the switch to On. Enter your proxy address and port number in the fields provided. If your proxy requires a username and password, you will enter those when the browser or application first tries to connect.
If you need to exclude certain websites from the proxy (so they connect directly instead), scroll down to "Bypass proxy for these hosts" and enter the addresses separated by semicolons. For example, entering localhost;127.0.0.1 will let your computer reach its own services without going through the proxy.
After you save, open your browser and visit a website to test the connection. If the page loads normally, the proxy is working. If you see an error or the page does not load, double-check that the proxy address and port are correct.
Setting up a proxy on macOS
On macOS, proxy settings are system-wide. Open System Settings, go to Network, select your active connection (usually Wi-Fi), then click Details. Go to the Proxies tab. Check the box next to "Web Proxy (HTTP)" and enter your proxy address and port. If your proxy also handles HTTPS traffic, check "Secure Web Proxy (HTTPS)" and enter the same details there.
If your proxy requires authentication, enter your username in the Proxy Server Username field and your password in the Proxy Server Password field. Click OK to save. The proxy will apply to all applications on your Mac that use the system network settings, including Safari, Chrome, and most other browsers.
To test, open Safari or another browser and visit a website. If it loads, the proxy is configured correctly. If you see a connection error, verify that the proxy address and port match what your proxy provider gave you.
Setting up a proxy on Linux
Linux proxy configuration depends on your desktop environment. On GNOME (used by Ubuntu and many other distributions), open Settings, go to Network, click the gear icon next to your connection, then go to the Proxy tab. Select "Manual" and enter your proxy address and port in the HTTP Proxy field. If your proxy handles HTTPS, enter it in the HTTPS Proxy field as well.
On KDE Plasma, open System Settings, go to Startup and Shutdown, then go to Launch/Shutdown. Look for Network Settings or Proxy settings depending on your KDE version. The fields are the same: proxy address and port.
If you use a window manager without a graphical settings panel, you can set proxy environment variables in your shell configuration file. Open ~/.bashrc or ~/.zshrc (depending on your shell) and add these lines:
export http_proxy=http://proxy_address:port export https_proxy=http://proxy_address:port
Save the file and restart your terminal. The proxy will apply to command-line tools and applications that read these variables.
What information you need from your proxy provider
Before you configure anything, gather these four pieces of information from whoever is providing the proxy:
- Proxy address: This is either an IP address (like 192.168.1.1) or a hostname (like proxy.example.com).
- Port number: A number between 1 and 65535, commonly 8080, 3128, or 9090 for HTTP proxies.
- Username (if required): Some proxies require authentication; others do not.
- Password (if required): Entered alongside the username.
If you are missing any of this information, contact your proxy provider before you start configuring. Entering an incorrect address or port will result in connection errors.
Testing your proxy connection
After you configure the proxy, test it immediately. Open your browser and visit a website you use regularly. If the page loads within a few seconds, the proxy is working. If the page does not load or you see an error message, the configuration has a problem.
Common errors include a wrong proxy address, a wrong port number, or a firewall blocking the connection. If you see a "proxy server is refusing connections" error, verify the address and port with your proxy provider. If you see a timeout error, the proxy server may be offline or your firewall may be blocking access to that port.
Some proxy providers offer a test page or tool to verify your connection. Check their documentation to see if they provide one. If the proxy still does not work after you have triple-checked the address and port, contact your proxy provider's support.
Frequently Asked Questions
Can I use different proxies for different websites?
Most proxy configurations apply to all traffic, but some advanced tools like FoxyProxy (a Firefox extension) let you assign different proxies to different websites based on rules you set. For basic proxy setup, you configure one proxy that handles all your traffic.
Will a proxy slow down my internet?
Yes, routing traffic through a proxy adds latency because your data travels an extra hop. The slowdown depends on the proxy server's location and how busy it is. A proxy close to you will be faster than one on the other side of the world.
What's the difference between a proxy and a VPN?
A proxy handles traffic from a single application or your entire system, while a VPN encrypts all your traffic and is harder for websites to detect or block. Proxies are lighter-weight and faster; VPNs offer more privacy but use more resources.
Do I need to restart my computer after configuring a proxy?
No. Most applications will use the new proxy settings immediately. If an application was already running when you changed the settings, close and reopen it to pick up the new configuration.
What happens if the proxy server goes down?
If the proxy is offline, your browser or application will show a connection error. You can either wait for the proxy to come back online, remove the proxy configuration to connect directly, or switch to a different proxy if you have one available.