Lock Down Your Workstation: Portmaster Plus Brave Privacy Setup
Linux phones home more than you think. Per-app firewall rules with Portmaster, hardened DNS, and Brave settings that cut trackers without breaking sites.
By Velloreth
Linux is secure by default the way a new apartment is clean on move-in day. Then the browser, editor, runtimes, Docker, and extensions move in — and the machine talks constantly. Some expected, the rest noise: telemetry, trackers, updaters for apps you forgot.
Privacy tooling went mainstream in 2026: Brave Search up 1088%, Portmaster up 274%. This is the ten-minute lockdown.
Install Portmaster
curl -fsSL https://updates.safing.io/linux/stable/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/safing.gpg
echo "deb [signed-by=/usr/share/keyrings/safing.gpg] https://updates.safing.io/linux/stable/deb stable main" | sudo tee /etc/apt/sources.list.d/safing.list
sudo apt update && sudo apt install portmaster
Fedora uses the Safing rpm repo, Arch has portmaster-bin. Open the UI, enable the core, set Default Action to Block for day one. Prompts are the audit working.
Docker or VPN? Allow the bridge ranges and set VPN compatibility so the tunnel is not treated as hostile.
Safe default rules
| App | Rule | Why |
|---|---|---|
| Browsers, package managers | Allow web | They need it |
| Compilers, local DBs | Block outbound, allow localhost | A compiler phoning home is a smell |
| /tmp binaries | Block, prompt | Classic malware path |
| Filter lists | Ads, trackers, malware on | One toggle, whole system |
| DNS | Force Secure DNS | Stops WiFi snooping |
Live with prompts for a day. Promote the good ones, keep the rest blocked.
Harden Brave in ten minutes
- Shields trackers: Standard. Aggressive breaks checkouts; Portmaster lists cover the rest.
- Fingerprinting: Standard. Strict breaks banks for little gain.
- Cookies: block third-party. First-party stays, cross-site dies.
- Search: Brave Search default. Address-bar queries stop leaking.
- Extensions: fewer than five. Each sees every page.
- HTTPS-Only: on. Downgrade attacks die here.
- Secure DNS: same provider as Portmaster to avoid split-brain.
Broken site? Shields icon, relax for that site only. Global stays strict.
Verify
ss -tupn | head -20
Portmaster monitor should show encrypted DNS, not port 53 in clear. Test Brave at cover-your-tracks style checkers — blocked trackers plus randomized fingerprint is the goal.
After a workday the top talkers should be browser, package mirror, Git remote. A linter or theme extension in the top five means its rule was wrong. Quarterly, prune allows you no longer use.