← Back to projects
Nmap Homelab Guide
A 10-module practical guide to network scanning and hardening using nmap, tailored for homelab environments.
Stack:nmapLinuxBash
Problem
Most nmap tutorials target CTF environments or intentionally vulnerable machines. There was no structured guide focused on scanning and hardening a real homelab network — the kind of network where you actually care about the results.
What I Built
A 10-module guide that walks through practical nmap usage on a homelab network. Each module covers a specific scanning technique and connects it directly to a hardening action:
- Host discovery on the local subnet
- Port scanning techniques and their tradeoffs
- Service version detection
- OS fingerprinting
- NSE (Nmap Scripting Engine) basics
- Vulnerability scanning with NSE scripts
- Scanning through firewalls and IDS evasion
- Output formats and reporting
- Automating scans with Bash scripts
- Building a hardening checklist from scan results
Stack
- Primary tool: nmap
- Environment: Arch Linux homelab network
- Scripting: Bash for automation
What I Learned
- Running nmap against your own infrastructure reveals services you forgot were running — Syncthing’s default web UI was exposed on a port I hadn’t firewalled.
- The gap between “scanning for vulnerabilities” and “actually hardening based on findings” is where most guides stop. Bridging that gap is where the real value is.
- NSE scripts are powerful but need careful vetting — some scripts are actively intrusive and shouldn’t be run against production services without understanding what they do.
Outcome
A complete, structured guide that takes someone from basic host discovery to producing an actionable hardening checklist for their own network.