How to Set Up SOCKS5 Proxy in Firefox: FoxyProxy & Settings

Updated September 25, 2026 6 min read

Table of Contents

Key takeaways

  • Use FoxyProxy to easily set up a SOCKS5 proxy in Firefox.

  • For native Firefox setup without a dedicated proxy management extension, Firefox needs IP whitelisting.

  • Enable Proxy DNS in FoxyProxy or in Firefox's settings so DNS lookups go through your SOCKS5 proxy.

  • anyIP.io offers 24/7 support for seamless SOCKS5 usage.

FoxyProxy is a free Mozilla Firefox extension designed to make browser proxy management easier. It’s an open-source add-on that lets users add and manage proxies freely without complex configurations.

In this step-by-step tutorial, we'll show you two methods to quickly set up a SOCKS5 proxy in Mozilla Firefox. We’ll show you how to add a proxy to Firefox with the FoxyProxy extension, and how to set up a SOCKS5 proxy natively in the browser's settings.

💡 To follow this tutorial, you’ll need:

  • An active anyIP proxy account. Every plan comes with a 14-day money-back guarantee on unused data purchased by card.

  • A new or previously set up proxy profile. Note that your proxy profile should have SOCKS5 selected as the proxy type.

  • Proxy credentials:

    • username/password.

    • proxy server address and port: portal.anyip.io with port 1080 for FoxyProxy, or your IP whitelisting port for the native Firefox setup.

Set up a SOCKS5 Proxy on Firefox with FoxyProxy

SOCKS5 proxies are some of the most popular proxy types, used for web scraping, gaming, and localized content testing.

Using proxies with the FoxyProxy extension is a great option if you’re looking for a quick and easy way to avoid the downsides of native proxy configuration, such as:

  • Compatibility issues.

  • DNS leaks.

  • Difficulty switching between multiple profiles.

Step 1: Download FoxyProxy

First, go to Mozilla Firefox’s add-on page, search for FoxyProxy, and add the extension.

FoxyProxy standard version on Firefox Add-ons page

Confirmation prompt for adding the FoxyProxy extension to your browser

Notification after a successful installation of FoxyProxy.

  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 2: Open FoxyProxy's dashboard

Now that you’ve added the FoxyProxy extension, the next step is to add the proxies.

  1. Click on the FoxyProxy icon to open the extension.

  2. Move your mouse to the bottom of the dashboard and click on Options.

How to access the FoxyProxy options menu

Step 3: Configure SOCKS5 proxies

This is the main step of the configuration guide. In practice, this only takes a few minutes. Here’s an exact rundown of what you should do:

  1. Navigate to Proxies.

  2. Click on Add to open the form.

  3. Retrieve the proxy credentials from your anyIP dashboard and fill in the form:

    • Title: Choose a clear title to identify this proxy quickly, especially if you’re planning to add other proxies later on.

    • Type: Select SOCKS5 as the proxy type 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 affect how the proxy works.

    • Hostname: Enter the proxy server hostname or IP. If you’re using anyIP, it’s going to be portal.anyip.io.

    • Port: Enter your proxy port. We’re using 1080.

    • Username and password: Enter your credentials to connect to your proxy.

    • Proxy DNS: Enable this option so DNS lookups go through the proxy instead of your local network. Otherwise, your ISP or DNS resolver can still see which sites you visit.

  4. After completing the proxy setup form, click Save and close the FoxyProxy dashboard.

Example of a newly added proxy configuration in FoxyProxy

Step 4: Connect to your proxy

As a final step, open FoxyProxy by clicking on the extension's icon. Then, select the proxy you want to connect to by clicking on it.

How to connect to a proxy through FoxyProxy

💡 The extension's icon should change and indicate that you are now using the proxy. It should look like the following:

Badge indicating an active proxy connection in FoxyProxy

Set Up a SOCKS5 Proxy Natively in Firefox

To use a SOCKS5 proxy natively in Mozilla Firefox, you'll need a proxy provider that offers IP whitelisting, like anyIP. Firefox's built-in proxy settings have no username or password fields for SOCKS5, so the provider has to recognize your device by its IP address instead.

Step 1: Whitelist your IP in the anyIP dashboard

Before you change anything in Firefox, tell anyIP which IP address is allowed to connect without a password:

  1. In your anyIP dashboard, go to Proxies and click Get Proxy Details.

  2. Open the IP Whitelisting tab and click Enable IP Whitelisting.

  3. Add your current public IP address.

  4. Click Add a port, choose a port between 2000 and 2999 (we're using 2080), and save.

If your home IP changes, for example after a router restart, you'll need to update it in the dashboard.

Step 2: Go to Firefox's settings

Start by clicking on the Firefox configuration menu on the right to access the expanded settings menu. Once you’re there, click on Settings.

How to access the settings menu in Firefox

Step 3: Access Firefox’s network settings

Make sure that you are on the “General” settings panel. Scroll down to the bottom of the general settings page. Click on the Settings button to open Firefox network settings.

How to find the network settings using FirefoxHow to access the network settings in Firefox

Step 4: Add your SOCKS5 proxies

In this window, select the Manual proxy configuration option and follow these instructions:

  1. Enter your hostname in the SOCKS Host field.

  2. Paste in your proxy port for anyIP. We’re using 2080.

  3. Select SOCKS v5 to use this protocol.

  4. Tick Proxy DNS when using SOCKS v5 so DNS lookups go through the proxy.

  5. Confirm your configuration by clicking on Ok.

As long as your current IP is whitelisted, Firefox is now connected to your proxy.

How to configure a SOCKS5 proxy on Firefox

Keep in mind that Firefox's native proxy settings only apply to Firefox, not to other apps on your device. If you switch between several proxies often, the free FoxyProxy extension is quicker than editing these settings each time.

Screenshot of a BrowserLeaks test result highlighting a DNS leak

How to Test Your SOCKS5 Proxy Connection

Once you’re connected, it’s always recommended to test your proxy connection. You can do that by going to this free website browserleaks, which shows your current IP address, location, and the DNS servers handling your requests. Check that the IP matches your proxy's location, not your real one.

browserleaks results using a proxy on Firefox

In our example, you can see all the related information about our new residential IP. Additionally, 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.

💡 You can also use the tool available directly in the extension:

Easily check your IP location using FoxyProxy.

Troubleshooting Common Issues

Even if you follow setup guides exactly, issues can still happen. Fortunately, there’s a list of common issues that often come with simple fixes once you identify the problems correctly.

Proxies aren’t connecting

If you're having trouble connecting to your proxy, check if you have the correct hostname/IP and port. Usually, this happens because of typos or spaces before or after the port, host, server, username, or password. Double-check all information, and always copy and paste it rather than entering it manually.

Firefox won't accept my proxy username and password

As mentioned, Mozilla Firefox doesn’t fully support proxies. That's expected. Mozilla Firefox's built-in settings can't send a username and password to a SOCKS5 proxy. Either use FoxyProxy, which supports credentials, or set up IP whitelisting and connect through your whitelisted port (such as 2080) instead of 1080.

Connection refused or server not responding

If you've double-checked your credentials and everything is entered correctly, check status.anyip.io for ongoing incidents, then contact your proxy provider to rule out network issues.

Get Started with anyIP Proxies

anyIP is a global proxy service provider that offers a combined pool of 100M+ residential and mobile proxies in 38+ countries. You can choose from several different pricing plans that are based on bandwidth use, meaning that you can access all available features and pay only for the bandwidth you use.

Frequently Asked Questions

How to quickly get a SOCKS5 proxy using anyIP.io?

To get SOCKS5 proxies, you simply need to create an anyIP account, select a pricing plan, and create a proxy profile with the SOCKS5 protocol. If you have any issues or questions, our 24/7 support is here to assist you anytime, ensuring seamless service round the clock.

What is a SOCKS5 proxy, and how does it work with Firefox?

SOCKS stands for Socket Secure. A SOCKS5 proxy is a type of proxy that uses the SOCKS5 protocol. It allows users to bypass network restrictions and is commonly used for web scraping, gaming, and other tasks that require uninterrupted speed. This applies to any browser you choose to add your SOCKS5 proxies to.

Does this work on Google Chrome?

Yes, you can add SOCKS5 to Google Chrome. The integration process follows the same flow. If you’d like to know more, we have a separate guide to help you set up SOCKS5 proxies on Google Chrome.

How to turn off a Firefox SOCKS5 proxy in Firefox?

To turn off proxies, open your Firefox settings, scroll to Network Settings at the bottom of the General tab, and click Settings. There, select No proxy, or Use system proxy settings if you rely on your device's proxy setup.

Which proxy is better for Firefox, HTTP or SOCKS5?

The choice between HTTP and SOCKS5 depends on what you need to use your Firefox proxies for. For example, HTTP proxies are typically used for regular browsing, while SOCKS5 proxies are more flexible – they can handle any type of traffic. Plus, Firefox can route DNS requests through SOCKS5 proxies for extra security.

Do these instructions work on Firefox for Android or iPhone?

No. Currently, the mobile versions of Firefox for iOS and Android don't have the same built-in proxy menu. On Android, you'll need a proxy extension or a system-level app. On iPhone, set the proxy in your Wi-Fi settings instead, keeping in mind that iOS natively supports only HTTP proxies there.

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.

Khaled Bentoumi

Read more

July 31, 2026

How to Manage Proxies and Multiple Accounts in 2026: A Review of the Incogniton Antidetect Browser

Learn why pairing Incogniton with reliable proxies is the key to secure multi-account management, browser fingerprint protection, and safer automation in 2026.

Khaled Bentoumi
Khaled Bentoumi
October 16, 2025

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.

Jérémy
Jérémy
September 22, 2025

How to Set Up a SOCKS5 Proxy in Chrome: Ultimate Guide

If you already use SOCKS5 proxies in other workflows, you might want to use them in your Google Chrome browser too. Unfortunately, Chrome can connect to SOCKS5 proxies but can't send a username and password.

Khaled Bentoumi
Khaled Bentoumi

Ready for Next-Level Proxy Solutions?

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