Firefox proxy settings: 6 ways to configure in 2026

How to Configure Proxy Settings in Firefox

Firefox is one of the few major browsers that has its own independent proxy settings, separate from the operating system. This makes Firefox an excellent choice for proxy users because you can configure a proxy in Firefox without affecting other browsers or system applications.

This guide covers every method for configuring proxies in Firefox, including the built-in settings panel, about:config tweaks, SOCKS5 with DNS resolution, and proxy extensions.

Why Firefox Is Ideal for Proxy Usage

Firefox stands out from other browsers for proxy configuration because:

  • Independent proxy settings — Firefox does not rely on the OS proxy like Chrome and Edge do
  • Built-in SOCKS5 support — Configure SOCKS5 proxies natively with DNS-over-proxy
  • about:config access — Fine-tune proxy behavior with advanced settings
  • Extension support — FoxyProxy and other extensions add profile-based proxy management
  • Container tabs — Multi-Account Containers allow different proxies per tab

Method 1: Configure Proxy via Firefox Settings

Step 1: Open Connection Settings

  1. Open Firefox and click the hamburger menu (three horizontal lines) in the top-right corner.
  2. Click Settings.
  3. Scroll down to the Network Settings section at the bottom of the General tab.
  4. Click the Settings… button.

Alternatively, type about:preferences#general in the address bar and scroll to Network Settings.

Step 2: Select Manual Proxy Configuration

In the Connection Settings dialog, select Manual proxy configuration.

Step 3: Enter Proxy Details

Fill in the appropriate fields based on your proxy type:

For HTTP/HTTPS Proxy:

  • HTTP Proxy: Enter the proxy address (e.g., proxy.example.com)
  • Port: Enter the port (e.g., 8080)
  • Check Also use this proxy for HTTPS if the same server handles both

For SOCKS Proxy:

  • SOCKS Host: Enter the SOCKS proxy address
  • Port: Enter the port (e.g., 1080)
  • Select SOCKS v5 (recommended) or SOCKS v4

For separate HTTP and HTTPS proxies:

  • Uncheck Also use this proxy for HTTPS
  • Fill in the HTTP Proxy and HTTPS Proxy fields separately

Step 4: Configure No Proxy For

In the No proxy for field, enter addresses that should bypass the proxy:

localhost, 127.0.0.1, .local, 192.168.0.0/16, 10.0.0.0/8

Step 5: Enable DNS Over Proxy (SOCKS5)

If using a SOCKS5 proxy, check Proxy DNS when using SOCKS v5. This is critical because it routes DNS queries through the proxy, preventing DNS leaks that could reveal your real location.

Step 6: Click OK

The proxy settings take effect immediately. No browser restart is required.

Step 7: Verify

Navigate to whatismyipaddress.com. The displayed IP should match your proxy server.

Method 2: Use System Proxy Settings

If you want Firefox to follow the operating system’s proxy configuration:

  1. Open Settings > Network Settings > Settings.
  2. Select Use system proxy settings.
  3. Click OK.

Firefox will now use whatever proxy is configured at the OS level.

Method 3: Auto-Detect Proxy (WPAD)

For enterprise environments using Web Proxy Auto-Discovery:

  1. Open Settings > Network Settings > Settings.
  2. Select Auto-detect proxy settings for this network.
  3. Click OK.

Firefox will look for a WPAD file on the network to determine proxy settings automatically.

Method 4: Use a PAC File

To use a Proxy Auto-Configuration file:

  1. Open Settings > Network Settings > Settings.
  2. Select Automatic proxy configuration URL.
  3. Enter the URL to your PAC file (e.g., http://example.com/proxy.pac).
  4. Click Reload to fetch the PAC file.
  5. Click OK.

Method 5: Configure Proxy via about:config

Firefox’s about:config provides granular control over proxy settings. Type about:config in the address bar and accept the warning.

Key Proxy Settings

PreferenceDescriptionValues
network.proxy.typeProxy mode0=None, 1=Manual, 2=PAC, 4=Auto-detect, 5=System
network.proxy.httpHTTP proxy hostproxy.example.com
network.proxy.http_portHTTP proxy port8080
network.proxy.sslHTTPS proxy hostproxy.example.com
network.proxy.ssl_portHTTPS proxy port8443
network.proxy.socksSOCKS proxy hostproxy.example.com
network.proxy.socks_portSOCKS proxy port1080
network.proxy.socks_versionSOCKS version4 or 5
network.proxy.socks_remote_dnsDNS through SOCKStrue or false
network.proxy.no_proxies_onBypass listlocalhost, 127.0.0.1

Enable SOCKS5 with Remote DNS

network.proxy.type = 1
network.proxy.socks = proxy.example.com
network.proxy.socks_port = 1080
network.proxy.socks_version = 5
network.proxy.socks_remote_dns = true

Setting socks_remote_dns to true ensures DNS requests are resolved through the proxy, preventing DNS leaks. This is essential for privacy-sensitive use cases.

Method 6: Use Firefox Multi-Account Containers with Proxies

Firefox’s Multi-Account Containers feature allows you to isolate browsing sessions. Combined with the Container Proxy extension, you can assign different proxies to different container tabs.

Step 1: Install Required Extensions

  1. Install Firefox Multi-Account Containers from Mozilla Add-ons.
  2. Install Container Proxy from Mozilla Add-ons.

Step 2: Configure Container Proxies

  1. Click the Multi-Account Containers icon in the toolbar.
  2. Create containers for each proxy (e.g., “US Proxy”, “UK Proxy”).
  3. Open the Container Proxy settings.
  4. Assign a proxy to each container.

Step 3: Use Containers

  1. Click the Containers icon and select a container.
  2. Open a new tab in that container.
  3. All traffic in that tab routes through the assigned proxy.

This is extremely useful for managing multiple accounts or testing from different locations simultaneously.

Proxy Authentication in Firefox

When you connect to a proxy that requires credentials, Firefox displays an authentication dialog. Enter your username and password, and optionally check Remember to save them.

Saving Proxy Credentials

Firefox can remember proxy credentials in its password manager:

  1. When prompted for proxy authentication, enter credentials and check Remember.
  2. To manage saved credentials, go to Settings > Privacy & Security > Saved Logins.

Suppress Authentication Prompts

If you want Firefox to automatically send credentials without prompting, configure about:config:

network.proxy.auth.non-web-content = true

Using Proxies with Firefox for Web Scraping

Firefox combined with proxy support is excellent for web scraping tasks. The browser’s independent proxy settings mean you can run Firefox through a proxy while keeping other tools on your direct connection.

For automated scraping, Selenium WebDriver can launch Firefox with specific proxy settings:

from selenium import webdriver
from selenium.webdriver.firefox.options import Options

profile = webdriver.FirefoxProfile()
profile.set_preference("network.proxy.type", 1)
profile.set_preference("network.proxy.http", "proxy.example.com")
profile.set_preference("network.proxy.http_port", 8080)
profile.set_preference("network.proxy.ssl", "proxy.example.com")
profile.set_preference("network.proxy.ssl_port", 8080)

options = Options()
options.profile = profile
driver = webdriver.Firefox(options=options)

Troubleshooting Firefox Proxy Issues

“The proxy server is refusing connections”

  1. Verify the proxy address and port are correct.
  2. Check that the proxy server is running and accessible.
  3. Test connectivity: Open a terminal and run telnet proxy.example.com 8080.
  4. Check if a firewall is blocking the connection.

DNS Leak When Using SOCKS5

Ensure Proxy DNS when using SOCKS v5 is checked in connection settings, or set network.proxy.socks_remote_dns = true in about:config.

Proxy Works But Pages Load Slowly

  • Check proxy server location — closer servers provide lower latency.
  • Free proxies are often overloaded. A premium mobile proxy offers consistent speed and reliability.
  • Disable DNS over HTTPS in Firefox settings if it conflicts with your proxy’s DNS resolution.

Firefox Not Using Proxy After Configuration

  1. Ensure you clicked OK in the Connection Settings dialog.
  2. Check that network.proxy.type in about:config is set to 1 (manual).
  3. Restart Firefox if changes are not taking effect.
  4. Clear the browser cache: Ctrl+Shift+Delete.

Best Practices

  1. Always enable DNS-over-proxy when using SOCKS5 to prevent DNS leaks.
  2. Use Multi-Account Containers for managing multiple identities with different proxies.
  3. Bookmark about:config for quick access to advanced proxy settings.
  4. Test your configuration by checking your IP at whatismyipaddress.com.
  5. Understand proxy terminology by consulting our proxy glossary.

Conclusion

Firefox offers the most comprehensive built-in proxy support of any major browser. Its independent proxy settings, SOCKS5 with remote DNS, about:config tweaks, and Multi-Account Containers make it the preferred browser for professionals who work with proxies regularly. Whether you need a simple HTTP proxy for browsing or a complex multi-proxy setup with per-tab isolation, Firefox has you covered.


Related Reading

last updated: April 3, 2026

Scroll to Top
message me on telegram

Resources

Proxy Signals Podcast
Operator-level insights on mobile proxies and access infrastructure.

Multi-Account Proxies: Setup, Types, Tools & Mistakes (2026)