Configure the proxy in Firefox settings
Open Settings, search for "proxy", and choose Settings under Network Settings. Select Manual proxy configuration, enter the SOCKS host and port, choose SOCKS v5, and tick Proxy DNS when using SOCKS v5. Leave the HTTP proxy fields empty unless you want an HTTP proxy instead.
With Proxynesia S5 Client on Windows, enter 127.0.0.1 as the SOCKS host and 40000 as the port. The client handles the credentials, so Firefox does not need them.
| Field | Value |
|---|---|
| Configure proxy access | Manual proxy configuration |
| SOCKS Host | 127.0.0.1 |
| Port | 40000 |
| SOCKS version | SOCKS v5 |
| Proxy DNS when using SOCKS v5 | On |
Why “Proxy DNS” matters
Without Proxy DNS, Firefox looks up every hostname through your normal resolver and then asks the proxy to connect to the resulting address. Websites see the proxy's IP, but your DNS provider sees every site you visit, and some sites resolve to different servers by region, which can give you results for the wrong country.
With Proxy DNS on, the hostname is sent to the proxy and resolved at the exit, which keeps lookups consistent with the exit location.
Proxies that require a password
Firefox will not send a SOCKS5 username and password. You have two options: use the HTTP proxy fields instead, for which Firefox shows a login prompt, or run a local client that holds the credentials and offers the proxy without a password.
A separate Firefox profile for proxied browsing is a good habit: it keeps cookies and history for the proxy separate from your everyday browsing.
firefox -P -no-remote # opens the profile manager; create "proxy"SOCKS5 with a password: use FoxyProxy
Firefox's built-in connection settings have no fields for a SOCKS5 username and password. Extensions can supply them, so FoxyProxy Standard is the simplest way to use a password-protected SOCKS5 proxy in Firefox, and to switch between several proxies with one click.
- Install FoxyProxy Standard from Firefox Add-ons and open its Options.
- Add a proxy: type SOCKS5, the host and port from your dashboard, then the username and password.
- Turn on the option to send DNS through the proxy, so lookups leave from the exit too.
- Select the proxy from the toolbar icon and check your IP.
Stop WebRTC from leaking your real IP
Even with a proxy set, WebRTC (used for video calls) can reveal your real public IP to a site. In Firefox you can turn it off completely: open about:config, search for media.peerconnection.enabled and set it to false. Video calls in the browser stop working until you turn it back on.
Run a WebRTC leak test before and after, so you know the change worked.
Different proxies for different jobs: profiles
Each Firefox profile keeps its own settings, cookies and proxy. Open about:profiles, create a profile per proxy or per location, and launch them side by side. Nothing leaks from one profile to another, which keeps logins tied to the right IP.