Add solution for Firefox no longer proxying localhost at all

This commit is contained in:
Nanne Baars 2019-11-08 17:04:15 +01:00 committed by Nanne Baars
parent ab3cd118c9
commit d8844216cc

View File

@ -1,11 +1,23 @@
== HTTP Proxy Setup: The Browser == HTTP Proxy Setup: The Browser
*Important: Firefox no longer proxies traffic for localhost (127.0.0.1) due to security reasons*.
The are two options to bypass this restriction:
- Use the host name of your machine instead of `localhost`, you can find or add a host name in `/etc/hosts` on Linux and MacOSX and `C:\Windows\System32\drivers\etc` on Windows
- Set the preference `network.proxy.allow_hijacking_localhost` (accessible through the `about:config` page) must be set to `true.
The first option is the preferred one, but it might be that for some reason you are unable to use this option you can fallback to the second one.
{nbsp} +
There are many plugins to manage this, but this will show you how to do this manually in Firefox and Chrome. There are many plugins to manage this, but this will show you how to do this manually in Firefox and Chrome.
This will send all of your traffic to the proxy. Since we haven't set up a trusted cert. yet, that may cause issues with any https requests. More on that in a bit though. Let's stick to basics for now: This will send all of your traffic to the proxy. Since we haven't set up a trusted cert. yet, that may cause issues with any https requests. More on that in a bit though. Let's stick to basics for now:
=== Firefox Proxy Config === Firefox Proxy Config
. Go to your Firefox Preferences (Mac, Linux) or Options (Windows) from the menu. . Go to your Firefox Preferences (Mac, Linux) or Options (Windows) from the menu.`
. Select _Advanced_ on the left . Select _Advanced_ on the left
. Select _Network_ in the in Advanced Pane . Select _Network_ in the in Advanced Pane
. Click _Settings_ . Click _Settings_