Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Firefox proxy notes

Run SOCKS proxy

I normally use Firefox with a SOCKS proxy, which I run with:

ssh -D 8880 ${USER}@proxyserver -n -f -N

Configure firefox proxy

Visit about:preferences, search proxy (tab General -> heading Network Settings -> button Settings...), and choose Manual proxy configuration.

  • SOCKS host: localhost, port 8880

My No proxy for box includes:

192.168.1.0/24, 10.35.0.0/16, server1, server4, server1, server2, server3, server3, *.ipa.example.com

Firefox extension to make it easier

If I want to use an extension that adds the setting to the toolbar, I use Simple Proxy Toggle – Get this Extension for Firefox (en-US) by Strega. It doesn't manage its own settings; it merely lets you switch easily between the high-level Firefox settings.

I had to temporarily modify my chrome/userChrome.css file to the following:

#unified-extensions-button, #unified-extensions-button > .toolbarbutton-icon{
width: 60px !important;
padding: 5px !important;
}

So that that annoying puzzle piece button would appear, so I could then right-click the extension icon and make it apepar on the toolbar.

References

Weblinks

  1. Simple Proxy Toggle – Get this Extension for Firefox (en-US)

My blog

  1. socks-proxy-command
  2. firefox-111.0-fix-puzzle-piece-in-toolbar

Internal

  1. file:///mnt/public/Support/Programs/Browsers/firefox-proxy-notes.md

Comments