How to disable WebRTC in Mozilla Firefox

If this is your first time to come across WebRTC, this is an acronym that stands for Web Real Time Communications. It is a technology that allows people to transfer video and audio streaming data between browsers and mobile applications.

This technology competes with Skype. It can be used to organize video conferences directly in the browser. The WebRTC is supported by all major browsers including Opera, Mozilla Firefox, Google Chrome and all other browsers based on Google Chrome.

However, you will be shocked to learn that WebRTC poses security flaws when it comes to online privacy. Let’s dive deeper and explore.

The WebRTC Vulnerability

The primary challenge with WebRTC is that it is possible for your true IP address to be exposed through STUN requests with Mozilla Firefox, Chrome and many other browsers.

Daniel Roesler exposed this vulnerability in 2015 through his GitHub page. He argues that browsers such as Firefox and Chrome implement a WebRTC that permits requests that will reveal the local and public IP address of the user to be made to STUN servers. He further stated that the request results were available to JavaScript and that it was now possible to obtain a user’s local and private IP address in JavaScript. Obviously, this is a nightmare for users who would want to remain anonymous even as they browse.

The easiest way to block WebRTC IP leaks is to use a VPN. A good example of a VPN you can use here is the Free VPN. This VPN services will block any potential WebRTC IP leaks while still allowing authorized WebRTC connections to continue.

How to Disable WebRTC in Mozilla Firefox

Although it is possible for a few VPNs to protect you WebRTC IP leaks, it is better to address the problem from the roots by fixing the vulnerability in your browser. Even when you choose to use the Free VPN that can protect against this vulnerability, it is still advisable to disable the WebRCT in your Mozilla Firefox browser.

Below is a simple guide on how to do it.

Manual Setting.

If you do not need the WebRTC, you can disable it completely.

If, on the other hand, you require to use WebRTC, it would be more convenient to install the plugin for Firefox.

  1. To completely disable WebRTC in your Mozilla Firefox browser, key in the text ‘about:config’ without the parenthesis in the browser’s address bar and press enter.



You should get a message warning you about continuing with these advanced settings. Click to accept the risk.

  1. Next, you will see three columns indicating the status of the setting (default), type of setting (boolean) as well as its value (true). Enter the text ‘media.peerconnection.enabled’.


  1. Next, double click on it and change the status to “user set” and change value to “false”.


Hurrah! You have disabled your WebRTC.

How to Configure Using the Plugin WebRTC Control

If you require to use WebRTC technology, turning the settings on and off can prove to be a time-consuming process. Installing a plugin that turns WebRTC on and off in one mouse click would be a better solution for you.

Here are the steps you need to follow to install the plugin:

Open Add-ons,

Go to the search section, and enter the name WebRTC control in the search box.

Click to install.

Activate the plugin. When activated, the plugins icon will turn blue.

Final Word

All said and done, WebRTC IP leak can be a pain in the ass for anyone who wants to stay anonymous and secure online. Disabling your browser IP leaks is a great start to protecting your browsing activities. However, it not enough! You need to use privacy tools such as Free VPN services to block this leaks completely.

Enjoyed this post? Share it!