|
| 1 | +--- |
| 2 | +title: "Privacy on Linux: Guide to CachyOS" |
| 3 | +date: "2026-04-08" |
| 4 | +description: "Basic privacy settings on CachyOS" |
| 5 | +--- |
| 6 | + |
| 7 | +# Privacy on CachyOS |
| 8 | + |
| 9 | +Three changes cover most practical privacy concerns on CachyOS. |
| 10 | + |
| 11 | +## 1. Browser: Block Trackers |
| 12 | + |
| 13 | +Install two Firefox extensions: |
| 14 | +- **uBlock Origin** — blocks ads and ad-serving domains |
| 15 | +- **Privacy Badger** — blocks invisible trackers and analytics pixels |
| 16 | + |
| 17 | +## 2. DNS: Stop ISP Logging |
| 18 | + |
| 19 | +Your ISP sees every DNS query you make, even on HTTPS. Switch to Quad9. |
| 20 | + |
| 21 | +**Option A: nmtui (GUI)** |
| 22 | +```bash |
| 23 | +nmtui |
| 24 | +``` |
| 25 | +Navigate to Edit a connection → your WiFi/Ethernet → IPv4 Configuration → DNS servers. Replace your ISP's servers with `9.9.9.9` and `149.112.112.112`. |
| 26 | + |
| 27 | +**Option B: edit the config directly** |
| 28 | + |
| 29 | +Edit `/etc/systemd/resolved.conf` and set: |
| 30 | +``` |
| 31 | +DNS=9.9.9.9 149.112.112.112 |
| 32 | +``` |
| 33 | + |
| 34 | +Either way, restart systemd-resolved: |
| 35 | +```bash |
| 36 | +sudo systemctl restart systemd-resolved |
| 37 | +``` |
| 38 | + |
| 39 | +Verify: |
| 40 | +```bash |
| 41 | +nslookup google.com |
| 42 | +``` |
| 43 | + |
| 44 | +Quad9 also blocks known malware domains at the DNS level. |
| 45 | + |
| 46 | +## 3. Firewall: Block Inbound Connections |
| 47 | + |
| 48 | +```bash |
| 49 | +sudo systemctl enable --now ufw |
| 50 | +sudo ufw default deny incoming |
| 51 | +sudo ufw default allow outgoing |
| 52 | +``` |
| 53 | + |
| 54 | +Allow exceptions as needed (e.g. Syncthing): |
| 55 | +```bash |
| 56 | +sudo ufw allow 22000/tcp |
| 57 | +sudo ufw allow 22000/udp |
| 58 | +``` |
| 59 | + |
| 60 | +Note: your home router likely already does this. UFW adds a second layer. |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +That's it. Browser extensions take 2 minutes, DNS takes 5. These three changes stop most behavioral tracking and hide your browsing from your ISP without breaking anything. |
| 65 | + |
| 66 | +**What's probably overkill:** VPN at home, Tor, disabling JavaScript, encrypted email (unless you have specific threat actors). |
0 commit comments