Quick and dirty guide for running a more secure default firefox container with kasm. Im routing my external traffic through a seperate NAT and firewall with outbound vpn connections with multihop and then layer on Mullvads proxy to easy change my route on the fly.
1: copy scr.io/linuxserver/firefox:kasm to a new profile and rename it something like secure browser
2: edit the file mapping
Type: text
Name: Firefox plugin
Discription: plugin set
Destination path: /etc/firefox/policies/policies.json
Paste this into the file
{
"policies": {
"DisableTelemetry": true,
"DisableFirefoxStudies": true,
"DisablePocket": true,
"RequestedLocales": ["en-US"],
"OverrideFirstRunPage": "",
"OverridePostUpdatePage": "",
"Homepage": {
"URL": "https://mullvad.net/en/check",
"Locked": false,
"StartPage": "homepage"
},
"ExtensionSettings": {
"uBlock0@raymondhill.net": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
},
"jid1-MnnxcxisBPnSXQ@jetpack": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi"
},
"{73a6fe31-595d-460b-a920-fcc0f8843232}": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/noscript/latest.xpi"
},
"{d19a89b9-76c1-4a61-bcd4-49e8de916403}": {
"installation_mode": "force_installed",
"install_url": "https://github.com/mullvad/browser-extension/releases/download/v0.9.7-firefox-beta/mullvad_proxy_extension-0.9.7.xpi"
}
},
"SearchEngines": {
"Default": "DuckDuckGo"
},
"Preferences": {
"extensions.activeThemeID": "firefox-compact-dark@mozilla.org",
"ui.systemUsesDarkTheme": 1,
"layout.css.prefers-color-scheme.content-override": 0,
"browser.newtabpage.activity-stream.showSponsored": false,
"browser.newtabpage.activity-stream.showSponsoredTopSites": false,
"browser.newtabpage.activity-stream.feeds.telemetry": false,
"dom.security.https_only_mode": true,
"dom.security.https_only_mode_ever_enabled": true,
"browser.translations.enable": false,
"browser.translations.automaticallyPopup": false,
"browser.startup.homepage_override.mstone": "ignore",
"intl.accept_languages": "en-US, en",
"javascript.use_us_english_locale": true,
"privacy.spoof_english": 2
}
}
}
3: Save
4: Surf smarter