---
title: "How to Set Up a Firefox SOCKS5 Proxy and Test It"
description: "Learn how to use SOCKS5 proxies in Firefox by changing its network settings or adding proxy lists to the MarsProxies browser extension."
url: "https://marsproxies.com/blog/firefox-socks5-proxy/"
---

- [EN ](https://marsproxies.com/blog/firefox-socks5-proxy/?locale-change "English")
  [CN](https://marsproxies.cn/blog/firefox-socks5-proxy/?locale-change "Chinese")

[Contact sales](https://marsproxies.com/contact-sales/) [Register](https://dashboard.marsproxies.com/register/) [Log in](https://dashboard.marsproxies.com/login/)

[Contact sales](https://marsproxies.com/contact-sales/) [Register](https://dashboard.marsproxies.com/register/) [Log in](https://dashboard.marsproxies.com/login/)

[Contact sales](https://marsproxies.com/contact-sales/)

[Log in](https://dashboard.marsproxies.com/login/) [Register](https://dashboard.marsproxies.com/register/)

- [EN ](https://marsproxies.com/blog/firefox-socks5-proxy/?locale-change "English")
  [CN](https://marsproxies.cn/blog/firefox-socks5-proxy/?locale-change "Chinese")

[Back to blog](https://marsproxies.com/blog/) May 8, 2026

# How to Set Up a Firefox SOCKS5 Proxy and Test It

[How to](https://marsproxies.com/blog/category/how-to/)

\-

Table of contents

1. [What you need before setting up](https://marsproxies.com/blog/firefox-socks5-proxy/#b-what-you-need-before-setting-up)
2. [How to set up a SOCKS5 proxy in Firefox with MarsProxies extension](https://marsproxies.com/blog/firefox-socks5-proxy/#b-how-to-set-up-a-socks5-proxy-in-firefox-with-marsproxies-extension)
3. [How to set up a SOCKS5 proxy in Firefox manually](https://marsproxies.com/blog/firefox-socks5-proxy/#b-how-to-set-up-a-socks5-proxy-in-firefox-manually)
4. [How to check if your Firefox SOCKS5 proxy is working](https://marsproxies.com/blog/firefox-socks5-proxy/#b-how-to-check-if-your-firefox-socks5-proxy-is-working)
5. [Firefox SOCKS5 proxy not working? Fix these issues](https://marsproxies.com/blog/firefox-socks5-proxy/#b-firefox-socks5-proxy-not-working-fix-these-issues)
6. [Authentication failures](https://marsproxies.com/blog/firefox-socks5-proxy/#b-authentication-failures)
7. [Sites not loading](https://marsproxies.com/blog/firefox-socks5-proxy/#b-sites-not-loading)
8. [DNS leaks](https://marsproxies.com/blog/firefox-socks5-proxy/#b-dns-leaks)
9. [Traffic not routing as expected](https://marsproxies.com/blog/firefox-socks5-proxy/#b-traffic-not-routing-as-expected)
10. [Final words](https://marsproxies.com/blog/firefox-socks5-proxy/#b-final-words)

\-

SOCKS5 is an internet protocol that routes traffic through a proxy server. It supports proxy username and password authentication, adding an extra layer of security. Also, it is protocol-agnostic, finely tuned for P2P use cases (such as torrenting), and web scraping modern applications using the UDP protocol.

SOCKS5h protocol version also resolves proxy DNS to route all DNS requests through the established connection, preventing DNS leaks.

If you're using Firefox for these activities, you can add [SOCKS5 proxies](https://marsproxies.com/other-proxies/socks5-residential-proxies/) in two ways. You can use a Firefox extension, like the [MarsProxies Firefox browser extension](https://marsproxies.com/tools/firefox-extension/). Or you can set them up using native Firefox settings.

Either way, it will mask your original IP address and route the traffic through a proxy server. Here's how to do it.

## What you need before setting up

SOCKS5 connects to a proxy server using the following four criteria:

- **Host/IP.** This is the online "address" of the proxy server.
- **Port.** It shows which "doors" to use to access this server.
- **SOCKS5.** You need a proxy that supports the SOCKS5 protocol.
- **Credentials if required.** Proxy credentials are required if authentication is enabled.

In the following section, we will show you how to get this data from the MarsProxies dashboard and add it to the Firefox extension. Once you get the hang of it, you can do it within a few minutes.

## How to set up a SOCKS5 proxy in Firefox with MarsProxies extension

1\. Install [MarsProxies Firefox browser extension](https://addons.mozilla.org/en-US/firefox/addon/marsproxies-proxy-extension/) by clicking the **'Add to Firefox' (1)** button.

2\. Make sure you select the **'Allow extension to run in private windows' (2)** option and click the **‘Add’ (3)** button.

3\. Go to MarsProxies website and **log in to your account**.

4\. We’ll use our [Residential Proxies](https://marsproxies.com/proxies/residential-proxies/). Click on **'Residential' (4)** on the left side navigation menu.

5\. Select the desired proxy server **country (5)**, specify the **state or region (6)** and **rotation (7)** if required, and, most importantly, **set the type (8)** to SOCKS5.

6\. Scroll down to the **'hostname:port:username:password'** section. Select one **proxy string (9)** and **copy (10)** it to the clipboard.

7\. Left-click on the MarsProxies browser extension **icon (11)** in Firefox and click on the **'Add new proxy' (12)** button.

8\. **Name (13)** your entry and paste the copied string into the **'Hostname/IP' (14)** field. Our extension will autofill the rest. Click the **'Save' (15)** button.

9\. Left-click on the browser extension **icon (16)** again and click the **'Connect' (17)** button next to your entry name.

That's it, now all your Firefox traffic goes through an intermediary proxy. Remember, you can always add more proxy entries and change your IP address with a few button clicks.

## How to set up a SOCKS5 proxy in Firefox manually

Alternatively, you can use manual proxy configuration within Firefox settings. Here are the exact steps.

1\. Left-click on the **icon (1)** with the three horizontal lines on the top right corner of Firefox and go to **'Settings' (2)** near the bottom.

2\. Scroll all the way down to the **'Network Settings'** section and click on the **'Settings' (3)** option.

3\. Select **'Manual proxy configuration' (4)** in the **'Connection Settings'** window.

4\. For now, leave this window and get back to the MarsProxies dashboard. Find the **'USER:PASS / IP:AUTH' (5)** toggle and select the latter. Click the **'Add new IP' (6)** button.

5\. Once again, specify your desired proxy settings - location, rotation, and type. We will use the same SOCKS5 proxy in the United States, New York.

6\. Scroll down to the IP section. In this field, you must write down your original **IP address (7)**. You can find it on websites like [IPLeak](http://ipleak.net/). Click the **'Create' (8)** button.

7\. Scroll down to the IP:PORT section and copy the **proxy string (9)** to your clipboard.

8\. Paste the proxy host in the **'SOCKS Host' (10)** field. Paste the port number in the **'Port' (11)** field. And choose the **SOCKS5 proxy protocol (12)**.

9\. Scroll all the way down and tick the **'Proxy DNS when using SOCKS v5' (13)** box. Click the **'OK' (14)** button.

Like in the previous case, Firefox now routes your traffic through a [SOCKS5 proxy](https://marsproxies.com/blog/socks-proxies/). However, you will have to follow all the steps again whenever you want to switch IP addresses. With our extension, you only have to add your SOCKS5 proxies once.

## How to check if your Firefox SOCKS5 proxy is working

In both cases, it's best to verify that the IP address has indeed been switched to the SOCKS5 proxy. Visit [IPLeak](http://ipleak.net/) to verify it.

As you can see, we now have an IP address from New York, United States. That is exactly what we specified in our dashboard. Firefox now sends all its traffic through the selected SOCKS5 proxy.

If you scroll down a bit more, you will also notice a list of DNS addresses.

That means the SOCKS5 proxy resolves DNS queries using remote DNS servers. It prevents DNS leaks and also helps bypass geographical restrictions and firewalls.

## Firefox SOCKS5 proxy not working? Fix these issues

Before concluding, we'll list common SOCKS5 proxy errors so that you can immediately jump to the solution if you encounter one.

### Authentication failures

Firstly, double-check that you correctly wrote down the proxy username and all proxy credentials. Inspect the words for mistypes and special symbols.

If everything's correct, clear the saved proxy credentials in Firefox. Go to ‘Settings’, then ‘Privacy & Security’, then ‘Saved passwords’ and delete proxy credentials. Then re-enter them manually and try to connect to the proxy again.

### Sites not loading

If all sites are not loading, then Firefox fails to connect to the proxy at all. Ensure that you have selected the [SOCKS5 proxy type](https://marsproxies.com/blog/proxy-setup/) in all required fields. Verify that you have written down the proxy port number and SOCKS host correctly.

If your proxy still doesn't work, it may be experiencing downtime. Find any free online proxy tester tool, paste your proxy string in the required format, and it will outline whether it's working as it should.

### DNS leaks

If you notice DNS-related issues, verify that you have checked the 'Proxy DNS when using SOCKS v5' box in Firefox proxy settings. If you did, your proxy may be genuinely leaking DNS queries, and you should look for a safer alternative.

### Traffic not routing as expected

Similarly to DNS leaks, check for IP leaks also. If you notice that you, for example, cannot bypass geographical restrictions, you may still be using your original IP address.

Also, some proxy providers use virtual IPs. The proxy server may be located in one country, but it displays an IP address in another. This is no good, because your traffic is routed to the physical proxy server.

## Final words

It may seem like there are many steps in this process, but they are all very simple. Once you do it a few times, you will be connecting to a different SOCKS5 proxy within minutes.

You can use our MarsProxies Firefox proxy extension with proxy username and password authentication for quick and easy switching between different profiles. If you prefer to use just one, you can manually change Firefox network settings by whitelisting your IP address first.

Can I use a SOCKS5 proxy in Firefox without an extension?

Yes. Firefox is one of the few browsers with built-in proxy settings. You can change its network settings to manually add SOCKS5 proxy details and use it without an extension.

Can I use the MarsProxies Firefox extension with another proxy provider?

Yes. The MarsProxies Firefox extension supports proxies from any provider.

Does Firefox send DNS through SOCKS5?

No. Firefox routes DNS queries through a SOCKS5 proxy only if you first set it up manually in its settings.

How do I know if my Firefox SOCKS5 proxy is working?

The best way is to verify whether your IP address has been changed to the SOCKS5 proxy. Search online for free IP lookup tools. If you see your original IP address, then the SOCKS5 proxy is not working.

Why is my Firefox SOCKS5 proxy not working?

There are several reasons. Your proxy may be experiencing downtime. You may have written down its details incorrectly. If the proxy uses authentication, ensure your proxy username and password are correct. And don't forget that configuring a proxy in Firefox settings requires IP whitelisting.

How do I disable a SOCKS5 proxy in Firefox?

Click on the three horizontal lines in the top right corner of the Firefox screen. Go to ‘Settings’, choose ‘Network Settings’, and select the ‘No proxy’ option there.

[Learn more](https://dashboard.marsproxies.com/register/)

\-

Author

[Dalius Pamedytis Software Engineer](https://marsproxies.com/blog/authors/dalius-pamedytis/)

Table of contents

1. [What you need before setting up](https://marsproxies.com/blog/firefox-socks5-proxy/#b-what-you-need-before-setting-up)
2. [How to set up a SOCKS5 proxy in Firefox with MarsProxies extension](https://marsproxies.com/blog/firefox-socks5-proxy/#b-how-to-set-up-a-socks5-proxy-in-firefox-with-marsproxies-extension)
3. [How to set up a SOCKS5 proxy in Firefox manually](https://marsproxies.com/blog/firefox-socks5-proxy/#b-how-to-set-up-a-socks5-proxy-in-firefox-manually)
4. [How to check if your Firefox SOCKS5 proxy is working](https://marsproxies.com/blog/firefox-socks5-proxy/#b-how-to-check-if-your-firefox-socks5-proxy-is-working)
5. [Firefox SOCKS5 proxy not working? Fix these issues](https://marsproxies.com/blog/firefox-socks5-proxy/#b-firefox-socks5-proxy-not-working-fix-these-issues)
6. [Authentication failures](https://marsproxies.com/blog/firefox-socks5-proxy/#b-authentication-failures)
7. [Sites not loading](https://marsproxies.com/blog/firefox-socks5-proxy/#b-sites-not-loading)
8. [DNS leaks](https://marsproxies.com/blog/firefox-socks5-proxy/#b-dns-leaks)
9. [Traffic not routing as expected](https://marsproxies.com/blog/firefox-socks5-proxy/#b-traffic-not-routing-as-expected)
10. [Final words](https://marsproxies.com/blog/firefox-socks5-proxy/#b-final-words)

Categories

- [Antidetect solutions](https://marsproxies.com/blog/category/antidetect-solution/)

  [3](https://marsproxies.com/blog/category/antidetect-solution/)
- [Comparisons](https://marsproxies.com/blog/category/comparisons/)

  [3](https://marsproxies.com/blog/category/comparisons/)
- [How to](https://marsproxies.com/blog/category/how-to/)

  [120](https://marsproxies.com/blog/category/how-to/)
- [Insights](https://marsproxies.com/blog/category/insights/)

  [86](https://marsproxies.com/blog/category/insights/)
- [Product news](https://marsproxies.com/blog/category/product-news/)

  [5](https://marsproxies.com/blog/category/product-news/)
- [Sneaker Bots](https://marsproxies.com/blog/category/sneaker-bots/)

  [2](https://marsproxies.com/blog/category/sneaker-bots/)

## Related articles

[How to](https://marsproxies.com/blog/category/how-to/)

### [How to Set Up a Proxy Server on PS5 (Step-by-Step Guide)](https://marsproxies.com/blog/proxy-server-on-ps5/)

Learn how to set up a proxy server on your PS5. Follow our easy guide to configure proxy settings, speed up downloads, and bypass blocks.

[Lukas Tilkevicius Growth & Partnerships Manager](https://marsproxies.com/blog/authors/lukas-tilkevicius/)

October 7, 2026

[How to](https://marsproxies.com/blog/category/how-to/)

### [How to Use Node Unblocker for Web Scraping & Privacy](https://marsproxies.com/blog/node-unblocker/)

Learn how to use Node Unblocker for web scraping, privacy, and bypassing restrictions. Follow setup steps, use cases, benefits, and key limitations.

[Dalius Pamedytis Software Engineer](https://marsproxies.com/blog/authors/dalius-pamedytis/)

October 6, 2026

[How to](https://marsproxies.com/blog/category/how-to/)

### [How to Fix Error: Externally-Managed-Environment in Python](https://marsproxies.com/blog/externally-managed-environment/)

Fix the externally-managed-environment error in Python. See why pip blocks system Python installs and how a virtual environment solves it.

[Lukas Tilkevicius Growth & Partnerships Manager](https://marsproxies.com/blog/authors/lukas-tilkevicius/)

October 5, 2026
