How to Set Up SOCKS5 Proxy in Firefox: Ultimate Guide

By
Khaled Bentoumi
Reviewed By
Khaled Bentoumi
Updated
November 28, 2024
12 min read

In this step-by-step tutorial, we’ll show you two methods to set up a SOCKS5 proxy quickly in Mozilla Firefox.

First, we’ll show you how to configure the proxy natively. Then, we’ll show you how to use a third-party extension named “FoxyProxy.”

💡 First thing first, to set up your proxy, you’ll need a few requirements:

  • An anyIP.io proxy account. You can enjoy our fully refundable plan if you don't have one.
  • All the proxies needed information such as :
    • username/password;
    • proxy server addresses (URL or IP + port) ;

Set up SOCKS5 Proxy natively on Firefox

With that being said, let's start now:

Step 1: Go to Firefox’s settings

This screenshot shows how to go to Firefox settings.
  1. Click the Firefox configuration menu on the right to access the menu
  2. Then open Firefox’s settings by clicking on “Settings.”

Step 2: Scroll down to the bottom to access the “Network Settings”

This screenshot shows how to find the network settings in Firefox.
This screenshot shows how to access the network settings in Firefox.
  1. Make sure that you are on the “General” settings panel
  2. Scroll down to the bottom of the general settings page
  3. Click on the “Settings” button to open Firefox network’s settings

Step 3: Check the “Manual proxy configuration” box. Fill the SOCKS Host field with your provider information (URL, IP, and port).

This screenshot shows the Firefox connection settings form.

‍

  1. Select “Manual proxy configuration.”
  2. Enter your hostname in the SOCKS Host field. In our example, we use anyIP.io as a provider: portal.anyip.io
  3. Enter here your proxy port for anyIP.io we use: 2080
  4. Select “SOCKS v5” to use this protocol
  5. Confirm your configuration by clicking

If your proxy provider has an IP Whitelisting feature, you are now connected to your proxy.

You can test the proxy with https://browserleaks.com/dns.

As you can see, your IP address is hidden. But, when using a native proxy connection with Firefox, you have a DNS leak

This screenshot shows your IP and DNS using browserleaks.com.

The following section explains how to prevent this issue and be anonymous using a popular extension, “FoxyProxy.”

Set up SOCKS5 Proxy on Firefox with FoxyProxy

You just learned how to configure Firefox natively. However, you'll quickly realize this method has a few downsides:

  • Compatibilities issues ;
  • DNS leaks ;
  • It is hard to switch between multiple profiles ;

This section will show you how to quickly enhance your workflow. We will use one of the most popular proxy extensions: FoxyProxy.

Head up to the FoxyProxy download page to download the extension, then follow our guide :

Step 1: Download the extension and add the extension to your browser:

This screenshot shows how the FoxyProxy page on Firefox browser add-ons
This screenshot shows how to add FoxyProxy to Firefox.
This screenshot shows the confirmation that FoxyProxy was added.
  1. Click on “Add to Firefox”
  2. Review all the permissions granted to FoxyProxy and click on “Add” to confirm
  3. Don’t forget to check the box to allow the extension to run in private mode if you need it. Then click on “Okay” to finish the installation

Step 1b (optional): Pin the extension directly to your toolbar for quick access

This screenshot shows how to pin an extension to Firefox’s toolbar.
  1. Click on the “Extension” icon
  2. Click on the “Setting” icon
  3. Select “Pin to Toolbar” to pin the extension to the toolbar for quick access

Step 2: Open the extension and click on “Options” to open FoxyProxy’s dashboard

This screenshot shows how to access FoxyProxy’s Options.
  1. Click on the FoxyProxy icon to open the extension
  2. Open the Options menu by clicking on “Options.”

Step 3: Head up to the “Proxies” tab to configure your proxy

This screenshot shows how to configure a proxy in FoxyProxy
  1. Navigate to “Proxies”
  2. Click on “Add” to open the form
  3. Fill out the form as follows
    • Title: Choose a clear title to identify this proxy quickly
    • Type: select “SOCKS5” in the dropdown menu
    • Country, City, and Color: For this guide, we use a proxy configured to "Spain." But those fields are purely for UI purposes. They won't impact the way the proxy works
    • Hostname: Enter the proxy hostname or IP. Here, we use our proxies, so we enter “portal.anyip.io”
    • Port: enter the proxy port, here “1080”
    • Username and password: Enter your credentials to connect to your proxy
    • Proxy DNS: ⚠︎ Make sure to enable this option to be fully anonymous. Otherwise, the website you’ll be visiting will know that you’re using a proxy.
  4. After completing the form, click “Save” and close the FoxyProxy dashboard

Step 4: Connect to your proxy

This screenshot shows the available proxy in FoxyProxy and how to connect to one of them.
  1. Open FoxyProxy by clicking on the extension’s icon
  2. Select the proxy you want to connect to by clicking on it. Here, we select our proxy.
💡 The extension’s icon should change and indicate that you are now using the proxy. It should look like the following:

This screenshot shows that the proxy is connected using the FoxyProxy extension.

You are now all setup and can freely and anonymously browse the web.

How to test your proxy connection

We cover two methods to use a SOCKS5 proxy in Firefox. How can we ensure that your proxy is enabled?

Luckily, It’s a simple verification. Head up to https://browserleaks.com/ip with and without the proxy activated. You will see that your IP is getting updated.

This screenshot shows your IP using browserleaks.com.

I can see that my new residential IP is different with the proxy enabled and that I’m well located in Spain as configured in my proxy.

You can also run a DNS Leak test to check if your DNS servers are safe:

GIF showing how to run a DNS leak test on browserleaks.com/ip.

Thanks to anyIP.io, I can see that both my IP and my DNS are located in Spain. Hence, my session is entirely located in Spain.

đź’ˇ For those who used FoxyProxy, you can also use the tool available directly in the extension:

This screenshot shows how to check your IP in FoxyProxy.

Troubleshooting Common Issues

You may encounter a few common issues, such as :

My proxy is not connecting?

If you’re having trouble connecting to your proxy, check if you have the correct hostname/IP port.

Take the time to double-check your credentials (username/password).

Firefox keeps asking for a username and password

As mentioned, Mozilla Firefox is incompatible with SOCKS5 Proxy. SOCKS5 Proxy requires username and password authentication. Before using a proxy provider, ensure it can handle the IP Whitelisting authentication method.

Connection refused or server not responding

Suppose your credentials and proxy information are correct. In that case, I suggest contacting your proxy provider to check if their services are still working correctly.

How to quickly get SOCKS5 proxy using anyIP.io

You can access SOCKS5 proxies with ease through anyIP.io expanding network. Plus, the 24/7 support is here to assist you anytime, ensuring seamless service round the clock.

What is a SOCKS5 proxy, and how are they working with Firefox?

A SOCKS5 proxy is a type of proxy. It enables users to bypass network restrictions. They can also maintain their anonymity while browsing the internet.

SOCKS stands for Socket Secure. An internet protocol routes network packets between a client and a server through a proxy server. A SOCKS5 proxy will allow you to access geo-restricted content. It can also improve internet security and hide your IP address.

Does this work on Google Chrome?

If you are more confortable with Google Chrome, we got your back! You can follow our guide to help you easily configure the proxy on Chrome.

Khaled Bentoumi

Khaled is a software engineer. He’s been involved in many startups of different sizes. Previously, he founded Data to Page, an AI Programmatic SEO startup. He now handles all the marketing at anyIP.

Get access to millions of residential and mobile IPs
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Article by
Khaled Bentoumi

Khaled is a software engineer. He’s been involved in many startups of different sizes. Previously, he founded Data to Page, an AI Programmatic SEO startup. He now handles all the marketing at anyIP.

Read more
12 min read
Python Requests Retry: A Complete Guide to Handling Failed HTTP Requests

Enhance your Python applications and learn how to handle HTTP request retries using Requests Retry

12 min read
How to Set Up Proxies with Potatso in iOS: Guide

Discover the ultimate Potatso proxy guide! Learn how to set up and configure proxies on your iOS device effortlessly.

12 min read
How to customize Your User-Agent with Python Requests

Learn how to update and rotate user-agents in Python Requests to avoid detection and improve scraping efficiency.

Ready for Next-Level Proxy Solutions?

Get started now and experience the ultimate in proxy flexibility, speed, and security.

Unlock the Power of anyIP Today!