New videos every week — proxies, VPNs & antidetect browsers, explained.

Subscribe
GuidesNov 21, 202617 min read

How to Set Up a Proxy in Chrome, Firefox, Windows and macOS

Step-by-step proxy setup for Windows 11, macOS, Chrome and Firefox: HTTP vs SOCKS5, logins, PAC files, and how to confirm your exit IP.

Table of contents

Most proxy problems are setup problems rather than proxy problems. The address is typed into the wrong box, the browser ignores the system settings, a SOCKS5 endpoint is entered as if it were an HTTP proxy, or a username and password are saved in a place the browser never reads. This guide walks through how to set up a proxy on Windows 11, on macOS, in Google Chrome and in Mozilla Firefox, and then shows you how to confirm that your traffic really leaves through the proxy's IP address.

Every menu path below was checked against the vendors' own documentation: Microsoft Support for Windows, Apple Support for macOS, the Chromium project's documentation and settings strings for Chrome, and Firefox's own interface strings for Firefox. Where an official source does not describe a feature, we say so instead of guessing. If you are new to the concept itself, start with our explainer on what a proxy server is and how it works, then come back here.

Before you start: what you need from your proxy provider

Whatever device or browser you use, a proxy connection is described by the same handful of details. Collect them before you open any settings screen, because every dialog below asks for some combination of them.

  • Host: a hostname such as proxy.example.com or an IP address.
  • Port: the number the proxy listens on. Providers often use different ports for different protocols or locations, so copy the exact one shown in your dashboard.
  • Protocol: HTTP (sometimes labelled HTTP/HTTPS or "web proxy") or SOCKS5. This decides which field you type the address into. If you are not sure which one you have, our comparison of SOCKS5 vs HTTP proxies explains the difference.
  • Authentication: either a username and password, or IP allowlisting (also called whitelisting), where the provider accepts connections from your public IP address without a password.
  • Optionally, a PAC URL: a link to a proxy auto-configuration file. Workplaces use these more than individuals.

Authentication decides the easiest path

Browsers handle proxy passwords unevenly, and Chrome does not support any authentication for SOCKS5 proxies at all. If your provider offers IP allowlisting, using it removes a whole class of login prompts and failures, especially for SOCKS5.

System proxy vs browser proxy: which one should you set?

There are two broad places to configure a proxy on a desktop computer, and choosing the right one saves a lot of confusion.

A system proxy is set in the operating system's network settings. Applications that read the system configuration, which includes Google Chrome on Windows and macOS, will use it automatically. It is the right choice when you want the whole machine, or at least every system-aware app, to go through the proxy.

A browser-only proxy is configured inside one application. Firefox is the main desktop browser with its own full proxy dialog, so it can use a proxy that the rest of the computer ignores. Chrome can also be pointed at a proxy for a single session with a command-line switch, which is covered later.

Where you set itWhat it affectsProtocols in the official UIProxy login
Windows 11 SettingsApps that use the Windows proxy configuration, including ChromeAddress and port (HTTP-style proxy); setup script; auto-detectNo username or password fields in the dialog
macOS System SettingsThe selected network service (for example Wi-Fi) and apps that use system settingsWeb proxy (HTTP), Secure web proxy (HTTPS), SOCKS proxy, PAC file, auto discoveryOptional "Proxy server requires password" toggle per proxy type
ChromeUses the system settings by default; a launch switch overrides them for that sessionHTTP, HTTPS, SOCKS4, SOCKS5 via switch, PAC, policy or extensionPrompts for HTTP proxy credentials; none for SOCKS
FirefoxFirefox only (unless set to "Use system proxy settings")HTTP, HTTPS, SOCKS v4, SOCKS v5, PAC URL, auto-detectPrompts for HTTP proxy credentials and can save them

A practical rule: if you only need a proxy for browsing in one browser, configure Firefox directly or launch a dedicated Chrome session. If you need every app on the computer to use the proxy, or your organisation tells you to, use the system settings. And if what you actually want is encryption of everything leaving your device, read proxy vs VPN first, because a VPN may be the better tool.

Split comparison: SYSTEM PROXY routes ALL APPS through the gear-configured proxy, while BROWSER PROXY covers ONE BROWSER only
System proxy vs browser proxy

How to set up a proxy on Windows 11

Windows keeps its proxy controls in the Settings app. According to Microsoft's support article "Use a proxy server in Windows", you get three ways to configure it: automatic detection, a setup script, or manual entry of a server address and port. All three live on the same page.

Manual proxy setup (address and port)

  1. Open the Settings app and select Network & internet > Proxy.
  2. Under Manual proxy setup, next to Use a proxy server, select Set up.
  3. In the Edit proxy server dialog, turn on Use a proxy server.
  4. Enter the proxy server name or IP address in the Proxy IP address box and the port in the Port box.
  5. Optionally, list sites that should skip the proxy in the exceptions box. Microsoft's example uses wildcards such as *.contoso.com, with multiple entries separated by semicolons.
  6. Decide on the Don't use the proxy server for local (intranet) addresses check box. Microsoft recommends leaving it selected unless your organisation requires the proxy for intranet addresses.
  7. Select Save.

Notice what the dialog does not have: there is no field for a username or password and no protocol selector. Microsoft's article only describes an address and a port, and the Chromium documentation notes that when Chrome reads Windows proxy settings, entries other than the SOCKS one are treated as ordinary HTTP proxies. In practice that means the Windows 11 Settings app is a good fit for an HTTP proxy. For a SOCKS5 proxy, Firefox's own settings or a Chrome launch switch are more predictable, and both are covered below.

Using a setup script or automatic detection

If your organisation gives you a proxy script address (a PAC file), go to Settings > Network & internet > Proxy, select Set up next to Use setup script, turn on Use setup script, enter the script address and select Save. For networks that publish their settings automatically, turn on Automatically detect settings under Automatic proxy setup instead.

One more detail from Microsoft: a proxy used by a VPN connection is configured separately, under Settings > Network & internet > VPN, then the VPN connection, Advanced options, and Edit next to Proxy settings for this VPN connection. If you are connected to a VPN and your proxy appears to be ignored, check there.

How to set up a proxy on macOS

On a Mac, proxy settings belong to a specific network service, such as Wi-Fi or Ethernet. That matters: if you configure the proxy on Wi-Fi and later plug in an Ethernet cable, the Ethernet service will not use it unless you configure it there too.

  1. Choose Apple menu > System Settings, then click Network in the sidebar.
  2. Click the network service you use (for example Wi-Fi), then click Details.
  3. Click Proxies. Apple notes you may need to scroll down to see it.
  4. Turn on the proxy type that matches your provider's protocol and enter the server address and port:
    • Web proxy (HTTP) for a standard HTTP proxy.
    • Secure web proxy (HTTPS) for traffic to HTTPS sites through a web proxy.
    • SOCKS proxy for a SOCKS endpoint.
  5. If the proxy needs a login, turn on Proxy server requires password and enter your user name and password.
  6. Optionally, add hosts and domains to Bypass proxy settings for these hosts & domains (separate entries with commas) and decide whether to Exclude simple hostnames.
  7. Confirm the change so it is applied to the network service.

Apple's page also lists Auto proxy discovery, which configures proxy settings automatically, and Automatic proxy configuration, where you enter the address of a PAC file. Use the PAC option if your provider or IT team gives you a PAC URL.

A saved macOS proxy password is not used by Chrome

Even though macOS lets you store a proxy password, the Chromium documentation states that Chrome does not use credentials embedded in system proxy settings. Chrome asks for them through its own sign-in prompt instead. Other apps may behave differently, so test each app you rely on.

How to set up a proxy in Google Chrome

On Windows and macOS, Chrome does not have a proxy form of its own. Its documentation explains that the Chromium network stack uses the system network settings so that users and administrators can control every application from one place. What looks like a Chrome setting is really a shortcut to the operating system.

Method 1: use the system proxy (default)

  1. Open Chrome's menu and go to Settings > System, or paste chrome://settings/system into the address bar.
  2. Click Open your computer's proxy settings. This opens the Windows or macOS proxy page described above.
  3. Configure the proxy there, then reload the page in Chrome.

If that row instead says Chrome is using proxy settings from an extension or from your administrator, something else is in control. An extension can override the system configuration for your Chrome profile, and an enterprise policy can override everything. Disable the extension, or talk to whoever manages the device, before you troubleshoot further.

Method 2: a Chrome-only proxy with a launch switch

When you want Chrome to use a proxy without changing the rest of the computer, start it with the --proxy-server switch. The Chromium project documents the format: a single URI with an optional port applies to all URLs, and you can put a scheme in front to choose the protocol.

# HTTP proxy for every URL
--proxy-server="http://proxy.example.com:8080"

# SOCKS5 proxy for every URL
--proxy-server="socks5://proxy.example.com:1080"

# Skip the proxy for some hosts (only works together with --proxy-server)
--proxy-bypass-list="*.example.org;127.0.0.1"

# Use a PAC file instead
--proxy-pac-url="http://intranet.example.com/proxy.pac"

Chromium's instructions for running with switches are simple. On Windows, quit every running Chrome window first (navigating to chrome://quit works), right-click your Chrome shortcut, choose Properties, add the switch to the end of the Target line, and launch Chrome from that shortcut. On macOS, quit Chrome, open Terminal, and start the app binary with the switch:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server="socks5://proxy.example.com:1080"

To confirm the switch was picked up, open chrome://version; Chromium's documentation says that page shows the full command line of the running instance. Note that Chromium describes some switches as development aids that can change, and recommends enterprise policies for managed deployments, so treat the switch as a tool for testing or personal use.

Proxy authentication in Chrome

Chrome's behaviour here trips up a lot of people, so it is worth being precise:

  • HTTP proxies: Chrome supports the same authentication schemes it uses for websites (Basic, Digest, NTLM and Negotiate). When the proxy asks for credentials, Chrome shows a sign-in prompt.
  • Credentials stored in system settings: ignored. Chrome does not read a username or password saved in the operating system's proxy configuration.
  • SOCKS5 proxies: Chrome supports no authentication methods for SOCKS5. Use IP allowlisting with your provider, or use Firefox or another client.
  • DNS with SOCKS5: Chrome always resolves hostnames on the proxy side when the scheme is SOCKS5, so your local DNS resolver does not see the sites you visit through it.

How to set up a proxy in Firefox

Firefox has its own complete proxy dialog, which makes it the easiest desktop browser for a browser-only proxy and for authenticated HTTP proxies. By default, Firefox's preferences are set to use the system proxy settings, so if you have already configured Windows or macOS, Firefox will follow them until you change this.

Open the Connection Settings dialog

  1. Open Firefox Settings and stay on the General panel.
  2. Scroll to the proxy section. In current Firefox releases it is labelled Proxy settings with a Configure proxy button; in the Extended Support Release line it appears as Network Settings with a Settings… button. Typing "proxy" into the settings search box finds it in either version.
  3. The Connection Settings window opens under the heading Configure Proxy Access to the Internet.

Choose a mode

  • No proxy connects directly, ignoring the system configuration.
  • Auto-detect proxy settings for this network uses network discovery.
  • Use system proxy settings follows Windows or macOS.
  • Manual proxy configuration lets you type addresses yourself.
  • Automatic proxy configuration URL loads a PAC file; the Reload button fetches it again after edits.

Manual setup for an HTTP proxy

  1. Select Manual proxy configuration.
  2. Enter the host in HTTP Proxy and the number in the Port field beside it.
  3. Tick Also use this proxy for HTTPS so secure sites use the same proxy. Leave the HTTPS fields alone unless your provider gives you a different endpoint for HTTPS.
  4. Add any exclusions to No proxy for. Firefox's example format is .mozilla.org, .net.nz, 192.168.1.0/24, and the dialog notes that connections to localhost, 127.0.0.1/8 and ::1 are never proxied.
  5. Click OK. The first time you load a page, Firefox will prompt for the proxy username and password if the proxy requires them.

Manual setup for a SOCKS5 proxy

  1. Select Manual proxy configuration and leave the HTTP Proxy fields empty.
  2. Enter the host in SOCKS Host and the number in its Port field.
  3. Choose SOCKS v5.
  4. Make sure Proxy DNS when using SOCKS v5 is ticked. In current Firefox builds this preference (network.proxy.socks5_remote_dns) defaults to on, but it is worth checking because a profile may carry an older setting. With it ticked, hostnames are resolved by the proxy instead of your local DNS.
  5. Click OK and load a page.

There is a separate Proxy DNS when using SOCKS v4 box with its own preference; it does not control SOCKS v5. The dialog also has a Do not prompt for authentication if password is saved option, which, according to its tooltip, silently signs you in to proxies for which you have saved credentials and only prompts if that fails.

If the fields are greyed out

When an extension controls Firefox's proxy, the Connection Settings window says which extension is in charge and offers a Disable Extension button. Organisation policies can also lock these settings.

Using a PAC file instead of a fixed proxy

A proxy auto-config (PAC) file is a small JavaScript file that defines one function, FindProxyForURL(url, host). For each request, the function returns which proxy to use, or DIRECT for no proxy. All four platforms in this guide accept a PAC URL: Windows calls it a setup script, macOS calls it automatic proxy configuration, Firefox calls it an automatic proxy configuration URL, and Chrome accepts one through --proxy-pac-url or the system settings.

function FindProxyForURL(url, host) {
  // Internal hosts go direct
  if (isPlainHostName(host) || dnsDomainIs(host, ".corp.example.com")) {
    return "DIRECT";
  }
  // Everything else tries the SOCKS5 proxy, then falls back to direct
  return "SOCKS5 proxy.example.com:1080; DIRECT";
}

PAC files are useful when you want split routing: one proxy for a set of domains, a different proxy for others, and direct connections for internal hosts. The return string can list several options separated by semicolons, and Chromium documents that it tries them in order. Two cautions apply. First, a PAC file is code that decides where all of your traffic goes, so only use PAC URLs from sources you trust. Second, PAC files are fetched over the network, and if the fetch fails, browsers fall back in different ways, so test what happens when the PAC host is unreachable.

How to confirm the proxy is working (check your exit IP)

Never assume a proxy is in use just because you saved the settings. Confirm it from the outside:

  1. Note your real IP first. With the proxy off, visit any IP-lookup page and write down the address it reports.
  2. Turn the proxy on and reload. The page should now show a different IP, normally one belonging to your provider, and a location that matches the one you selected.
  3. Test in the exact app you care about. A Firefox-only proxy will not change what Chrome shows, and a Chrome launch switch only affects the Chrome window started with it.
  4. Check for DNS leaks with SOCKS5. If you use Firefox with SOCKS5, keep "Proxy DNS when using SOCKS v5" ticked, then run a DNS leak test to confirm lookups are not coming from your own resolver.
  5. Check WebRTC. Browsers can reveal local network addresses through WebRTC even when HTTP traffic is proxied, so include a WebRTC check if anonymity matters.

For a full checklist covering speed, anonymity headers and leaks, see our guide on how to test a proxy. If you want to test the proxy outside the browser, before touching any system settings, the command-line route in how to use proxies with cURL is the fastest way to prove the host, port and credentials are correct.

Three numbered steps: CONNECT to the proxy, CHECK IP with a lookup, and VERIFIED shield once the exit IP matches the proxy
Confirming your proxy works

Troubleshooting common proxy setup problems

Pages do not load at all

The most common causes are a typo in the host or port, using a SOCKS5 port in an HTTP field (or the reverse), or a proxy that rejects your IP because it is not on the allowlist. Test the same details with cURL. If cURL fails too, the problem is the proxy details or account, not your browser.

Chrome keeps asking for a password, or never asks

Remember that Chrome ignores credentials saved in system settings and does not support SOCKS5 authentication. If you are using an authenticated SOCKS5 proxy in Chrome, it will not work; switch to IP allowlisting or use an HTTP endpoint from the same provider.

The IP does not change

Check which configuration is actually active. In Chrome, look at chrome://settings/system for an extension or administrator notice, and at chrome://version for launch switches. In Firefox, confirm that Manual proxy configuration is selected rather than Use system proxy settings. On macOS, make sure you edited the network service you are actually connected to.

Internal sites break after enabling the proxy

Add internal domains to the bypass or exception list: semicolon-separated on Windows, comma-separated on macOS and in Firefox's No proxy for field. On Windows, keeping "Don't use the proxy server for local (intranet) addresses" selected also helps. The Chromium documentation notes this check box, and the macOS "Exclude simple hostnames" option, both bypass the proxy for single-label hostnames without a dot.

Everything slowed down

Every request now makes an extra hop, so some slowdown is normal, especially with distant exit locations or rotating residential pools. If it is severe, try a closer location, a different port or protocol from your provider, or a PAC file that only sends the traffic that needs the proxy through it.

Security notes before you go live

  • HTTP proxies see more than you might think. Chromium's documentation explains that plain http:// requests pass through an HTTP proxy in the clear. For https:// sites the encrypted connection is tunnelled end to end, but the hostname you are connecting to is still visible to the proxy.
  • Only use proxies you trust. Anyone operating the proxy can log the sites you connect to. Free public proxies are a particular risk.
  • A proxy is not a VPN. It usually covers one app or one protocol and does not encrypt the rest of your device's traffic.
  • Turn it off when you are done. A forgotten system proxy is a common cause of "no internet" errors weeks later.

Which setup should you choose?

For most people, the decision comes down to scope. If you need one browser on a proxy, Firefox's manual configuration is the most capable option, with HTTP and SOCKS5 support, a login prompt for HTTP proxies and remote DNS for SOCKS5. If you need Chrome on a proxy without affecting other apps, the --proxy-server switch is quick and reliable, provided you use an HTTP proxy for authenticated access or IP allowlisting for SOCKS5. If every app on the machine must use the proxy, set it in Windows 11 Settings or macOS System Settings, and remember that on a Mac the setting belongs to each network service separately.

Whichever route you take, finish by checking your exit IP in the app you actually use. Two minutes of verification is far cheaper than discovering later that your traffic was never proxied.

Frequently asked questions

Open Settings and go to Network & internet > Proxy. Under Manual proxy setup, select Set up next to Use a proxy server, turn it on, enter the proxy IP address and port, and select Save. The dialog has no username or password fields, so authenticated proxies will prompt in the app or need IP allowlisting.

Choose Apple menu > System Settings, click Network, select your network service, click Details, then Proxies. Turn on Web proxy (HTTP), Secure web proxy (HTTPS) or SOCKS proxy, enter the server and port, and turn on Proxy server requires password if your provider uses a login. The setting applies to that network service only.

Not on Windows or macOS. Chrome's Settings > System page has an Open your computer's proxy settings button that opens the operating system's proxy page, and Chrome follows those settings. To use a proxy only in Chrome, launch it with the --proxy-server command-line switch.

No. The Chromium documentation states that Chrome supports no authentication methods for SOCKS5 proxies. Use IP allowlisting with your provider, switch to an authenticated HTTP proxy, or use Firefox or another client for authenticated SOCKS5.

Open Settings, find the proxy section on the General panel and open Connection Settings. Choose Manual proxy configuration, leave the HTTP fields empty, enter the SOCKS Host and Port, select SOCKS v5 and make sure Proxy DNS when using SOCKS v5 is ticked so hostnames are resolved by the proxy.

Chrome deliberately does not use credentials embedded in system proxy settings. When an HTTP proxy asks for authentication, Chrome goes through its own sign-in flow and prompts you for the username and password instead.

A PAC (proxy auto-config) file is a small JavaScript file whose FindProxyForURL function decides, per request, which proxy to use or whether to connect directly. It is useful for split routing, such as sending only certain domains through a proxy. Windows, macOS, Firefox and Chrome all accept a PAC URL.

Visit an IP-lookup page with the proxy off and note your IP, then enable the proxy and reload. The page should show a different IP and location from your provider. Test in the specific app you configured, and for SOCKS5 also run a DNS leak test.

Found this useful? Share it.