How to set up a proxy in Firefox
On desktop, open Firefox Settings, search for proxy, then open the connection settings. What you enter depends on whether you have a server name and port, a PAC file address, or instructions to use your computer’s proxy settings.
Where to find proxy settings in Firefox
Open Settings and search for proxy. The route to the connection dialog depends on the Firefox interface:
- If you see Connection and software security under Privacy & Security, open Advanced settings, then choose Configure proxy in the proxy settings.
- If your version lists Network Settings under General, open that panel and choose Settings.
Both routes open Connection Settings. Check the selected mode before editing. If it uses the system proxy, manage the address in your operating system. See Mozilla’s connection settings reference for the two interfaces.
If your administrator supplied a PAC file, open Connection Settings, select Automatic proxy configuration URL, enter its address and confirm. When the file changes at the same address, use Reload in that dialog to load the latest configuration.
How to verify Firefox PAC routes
A PAC file can choose a different route for each hostname. This example sends the intranet request directly and sends other requests to the HTTP proxy. The names below are placeholders.
function FindProxyForURL(url, host) {
if (host === "intranet.example.test") {
return "DIRECT";
}
return "PROXY proxy.example.test:8080";
}
- After loading or reloading the file, open a destination that should go through the proxy. Find the request in the proxy access log or compare the IP in the destination’s access log with the expected proxy exit IP.
- Open an authorized internal destination that should connect directly. Check that it loads and that its request is absent from the proxy log.
Use the same Firefox profile for both checks. An IP-check page reports the route for that page only. This example gives other hosts a single proxy route. If your network allows a direct fallback, the PAC rule can add ; DIRECT after the proxy. See MDN’s PAC return values and examples.
Which Firefox fields do I use for HTTP or SOCKS5?
Select Manual proxy configuration when your provider gives you a server and port. For example, if the endpoint is proxy.example.com:8080, put proxy.example.com in the host field and 8080 in the port field. Substitute the values supplied for your connection.
- HTTP proxy. Use the HTTP proxy field. Select Also use this proxy for HTTPS if the same server and port should handle visits to HTTPS sites.
- SOCKS5 proxy. Use the SOCKS host field and select SOCKS v5. Enter the port supplied for that endpoint.
Handle authentication without exposing credentials
An HTTP proxy sends a 407 challenge when it requests proxy credentials. If the prompt keeps coming back, check the expected server, port and authentication method. SOCKS5 authenticates during a separate handshake. If your SOCKS5 endpoint requires a username and password, verify that the Firefox extension you use explicitly supports those credentials. See the proxy authentication guide for login and IP allowlisting checks.
Inspect extensions, bypasses and DNS
Firefox can show extensions that control connection settings. Identify the active controller and review the No Proxy For list: matching hosts connect without that proxy. A browser exit-IP check does not establish the DNS resolver or WebRTC behavior. Follow the separate leak tests for those questions.
For a manual SOCKS5 connection, check Proxy DNS when using SOCKS v5 in Connection Settings when the proxy should resolve destination hostnames. To check DNS over HTTPS separately, look in Privacy & Security. Follow Mozilla’s DNS over HTTPS instructions and run the DNS test inside the same Firefox profile.
Verify and undo the change
Check the public exit in Firefox, then load one permitted destination using the same profile. Record the selected mode and result. If it fails, compare a controlled direct request and use the browser troubleshooting flow. Restore the intended direct or managed setting when the temporary test ends; do not leave an obsolete endpoint in the profile.
Frequently asked questions
Does Firefox's manual proxy change Chrome too?
It is a Firefox connection setting. Other browsers can use different controllers.
Why does one host show the direct IP?
Check bypass rules, the active controller and the actual request route.
Does a changed exit IP prove remote DNS?
No. Test DNS behavior independently.

