Linux Security Hardening for Darknet Users
If you're using Linux for darknet activities (outside of Tails/Whonix), proper system hardening is essential. A misconfigured system can leak identifying information even with Tor.
Full Disk Encryption
Always use LUKS full disk encryption. If your device is seized, encrypted data cannot be read without the passphrase. Use a strong passphrase (20+ characters). Enable secure boot and set a BIOS password to prevent boot tampering.
Firewall Configuration
Configure iptables/nftables to block all traffic except Tor. This prevents any application from bypassing Tor. A basic rule set: block all outgoing traffic, allow only connections to Tor's SOCKS port (9050) and the Tor process itself. This is what Whonix does at the network level.
MAC Address Spoofing
Your network card's MAC address is a unique identifier. Spoof it before connecting to any network: macchanger -r eth0. Tails does this automatically. On other Linux distros, configure NetworkManager to randomize MAC addresses for all connections.
System Checklist
Disable IPv6 (potential leak vector). Remove unnecessary services. Disable Bluetooth and webcam when not needed. Use AppArmor or SELinux. Keep system updated. Disable swap or encrypt it. Clear bash history on logout.