FreeFirefox's own VPN, out of the browser

Foxhole VPNFirefox's free VPN, for your whole system.

Foxhole takes Firefox's built-in VPN, the free “IP Protection” proxy, out of the browser: a SOCKS5 + HTTP proxy for any app, or everything your device sends through it. On Linux, macOS, Windows and Android, phones and TVs.

LinuxmacOSWindowsAndroid Latest · MIT npm i -g foxhole-vpn

Not connected

Tap to connect · Fastest here

The app's own fox. Tap it.

Features

The browser's VPN, everywhere else.

Firefox keeps its VPN to its own tabs. Foxhole hands it to every app on your computer and your phone, with the tools a VPN on a hard network needs.

Your whole system, through it

Every app goes through Firefox VPN: DNS over HTTPS inside the tunnel, IPv6 and QUIC leaks closed. On Linux and macOS, your password just once.

A proxy for any app

SOCKS5 and HTTP on one port. Point an app at it, or share it with your phone on the same Wi-Fi.

# any app, one port export ALL_PROXY=socks5://127.0.0.1:1080 export HTTPS_PROXY=http://127.0.0.1:1080 $ foxhole proxy --country fastest
Share with your phoneTelegram in one tapNext to another VPN

Split tunneling

Pick the sites and apps that skip the VPN, or the only ones that use it. Iranian or Russian sites direct, in one tap.

Shield

Malware, ads and trackers blocked before they load; social networks, porn, gambling and more at a switch. YouTube's ads taken out in your browsers.

Data by site

Which sites spend the month's data, and when it runs out at this rate. One click sends a big one direct.

Telegram in one tap

A button sets Telegram to use the proxy on this device; with sharing on, a QR code sets your phone's.

Smart DNS for a TV

Set a TV's or console's DNS to your computer, and YouTube and blocked or sanctioned sites open on it, with no app.

On your phone and TV

The Android app, with a Quick Settings tile and a widget. Your computer hands it to your phone over Wi-Fi, no VPN needed to get it.

Looks like a calculator

On a phone that may be searched, Foxhole's icon and name become a calculator's that works as one. Your code, then =, opens Foxhole.

Calls go through

WhatsApp, Discord, Teams and other WebRTC calls work in whole-system mode, through UDP to the ports the VPN takes.

فارسی and Русский

The desktop and phone apps in Persian, right to left, and in Russian: the tray, the notification, the tile and the widget too.

Made for hard networks

It knows what's blocked here.

Some networks block Firefox VPN's servers, or all of them. Foxhole checks quietly in the background and takes you to one that answers.

  • Fastest hereConnects to the location that answers quickest on this network, and moves on if that one gets blocked.
  • Which locations work hereEach server tried the way a connect does, a TLS handshake that counts no data, and the blocked ones marked.
  • Blocked while you're on it?Foxhole says so, with Switch to one that works. On Fastest here, it moves by itself.
  • Relay, where none workA free Google Apps Script on your own account gets you to Firefox VPN, set up step by step with screenshots.
  • When the internet is cut offFoxhole says when your country cuts the international internet off, as Iran and Russia do, and reconnects by itself once it's back.
Locationschecked just now1 blocked here
  • Fastest hereGermany
  • DEGermany48 ms
  • USUnited States71 ms
  • JPJapan142 ms
  • ZASouth Africa188 ms
  • AUAustraliaBlocked here
  • Relayyour Google script
Australia is blocked on this networkSwitch to Germany
See it

A window, or a terminal.

The desktop app lives in your tray or menu bar. The terminal app does all of it with a few keys.

Foxhole

The real app, running right here with a pretend connection. It drives itself.

How it works

Three steps. Then tap the fox.

01

Install it

The desktop app for your computer, the Android app for a phone or TV, or npm i -g foxhole-vpn for the terminal.

02

Sign in to Mozilla

With a Mozilla account, in Foxhole itself (Mozilla's own page, 2FA too) or in the Firefox browser, which Foxhole reads.

03

Connect

Fastest here picks the quickest location that works on your network. Proxy only, or your whole system.

Download

Get Foxhole.

Free and open source. The apps update themselves, through Firefox VPN while it's on.

macOS

macOS 13 and later
Yours

First start: System Settings → Privacy & Security → Open Anyway.

Windows

The installer, .exe
Yours

SmartScreen: More info → Run anyway.

Linux

.deb on Ubuntu and Debian, AppImage on Fedora and any other
Yours

It lives in the tray, and asks for your password once, for whole-system mode.

Android, phones and TVs

Android 9 and later
Yours

Easiest from the desktop app: Settings → Foxhole on your phone, then scan its QR code on the same Wi-Fi. Or download the APK: Chrome asks first (Keep, then Download anyway).

Terminal

Node.js 18.18+ · Linux, macOS, Windows

A full-screen terminal UI, and commands: foxhole proxy, foxhole global, foxhole usage, foxhole doctor.

$npm install -g foxhole-vpn && foxhole

Every file is in the latest release on GitHub.

Telegram channel

Fox Knocks

Foxhole's news and new versions, on Telegram. Join, and hear first when there's something new.

t.me/FoxKnocks
Questions

Good to know.

Is it free?
Yes. Firefox's VPN is free with a Mozilla account, with a monthly data cap, and Foxhole is free and open source (MIT). Foxhole shows how much of the month's data is left, and which sites spend it.
Is Foxhole made by Mozilla?
No. Foxhole is unofficial and not affiliated with Mozilla. Routing all your traffic through Firefox's VPN is probably outside Mozilla's intended use; your account and its monthly data cap are your responsibility.
Do I need the Firefox browser?
You need a Mozilla account. Sign in in Foxhole itself, on Mozilla's own page (2FA too), or in the Firefox browser, whose login Foxhole reads. A TV, or a terminal with no screen, can be signed in from another device with a 6-character code.
Does it work in Iran?
Locations shows which of Firefox VPN's servers work on your network, and Fastest here connects to the quickest of them. Where none do, set up a relay, a free Google Apps Script on your own account: Settings → VPN relay → Set up step by step. Iranian sites can go direct, with Save data for the rest.
What doesn't go through?
The VPN carries UDP only to some ports, so calls work but most games' traffic doesn't, and it may refuse non-web ports like SSH's 22 (git over SSH to GitHub still works, through ssh.github.com:443). More in the README.