# DebNAS

> DebNAS turns a minimal Debian 12/13 install into a home NAS with Cockpit UI, Portainer, VMs, SMB, RAID, and security hardening via one script.

- **Category:** Home Server
- **Licence:** GPL-3.0
- **Open source:** oss
- **Languages:** Shell
- **Platforms:** Debian, Build from Source
- **Tags:** Automation, Synology, Debian, Ubuntu, Shell, Bash, Homelab, Unraid, Home Server, Nas, Homepage, Proxmox, Docker, Smb, Self Hosted, Virtualization, Tailscale, Homeassistant, Portainer, Truenas, Cockpit, Raid, Openmediavault, Homenas

## Description

DebNAS is a collection of Bash scripts that automate turning a fresh Debian 12 or 13 (amd64) installation into a capable home NAS. It installs and configures the Cockpit web-based system management interface (port 9090) and the Portainer Docker management UI (port 9443), sets up Docker CE with mirror acceleration, adds virtualization support via cockpit-machines, configures SMB file sharing, software RAID (mdadm), SnapRAID, and a suite of security hardening measures including firewalld, Fail2ban, and automated threat-IP blocking. The project also provides optional Tailscale for VPN access, Nginx reverse proxy templates, and a menu-driven installer that can run individual modules or one-click "basic" and "secure" deployment profiles. The scripts are licensed under GPL-3.0 and target amd64 hardware only; Ubuntu, ARM, and other architectures are explicitly not supported. There is no separate daemon or service — DebNAS configures the underlying Debian OS and then hands off management to the installed components.

## Links

- [Homepage](https://github.com/kekylin/debnas)
- [Website](https://kekylin.github.io/debnas-docs/)
- [GitHub Repository](https://github.com/kekylin/debnas)

---
Source: https://selfhost.directory/project/debnas