ubuntu
Ubuntu post-install hardening โ firewall, encrypted DNS, Tor, AppArmor, snap/flatpak control, GNOME privacy
ubuntu provides Ubuntu-specific hardening with a guided TUI installer and optional GNOME desktop privacy settings.
Features
- Guided Installer โ Interactive TUI walks through profile selection
- Profiles โ
minimal(server),desktop(workstation),paranoid(max security) - GNOME Privacy โ Telemetry, location, usage stats, crash reports disabled
- Snap/Flatpak Control โ Disable auto-refresh, remove telemetry snaps
- AppArmor โ Enforce profiles for Firefox, Thunderbird, containers
- Encrypted DNS โ systemd-resolved + DNSCrypt-proxy integration
- Automatic Updates โ Unattended-upgrades with security-only option
Quick Start
curl -fsSL https://raw.githubusercontent.com/neohiro/ubuntu/main/install.sh | sudo bash
Profiles
| Profile | Target | Includes |
|---|---|---|
minimal |
Servers, containers | Firewall, SSH, auditd, sysctl, auto-updates |
desktop |
Workstations | Minimal + GNOME privacy, encrypted DNS, AppArmor |
paranoid |
High-security | Desktop + Tor, MAC randomization, kernel lockdown |
Post-Install
Run ubuntu-hardening --verify to audit current state.
Run ubuntu-hardening --rollback to revert last changes.