FREE PUBLIC LAB · NO ACCOUNT · NO INSTALL

The Nmap Command Lab

Nmap is the first tool almost every hacker — and every defender — learns. In this free lab you will run the 25 Nmap commands people reach for first, typed by your own hands into a real-feeling terminal, against a practice network that exists only to be scanned. VEX teaches every command before you type it.

100% simulated · the network is fictional · scanning it is always allowed
25REAL COMMANDS
9MISSIONS
6PRACTICE HOSTS
$0FREE FOREVER
Academy cover art — Nmap, the scanner everything is measured against: VEX mapping a glowing network
The same Nmap room art from inside the Academy — this free lab is its front porch.
VEX teaching
VEX

I'm Vex. By the end of this page you'll have mapped a whole network, interrogated a web server, unmasked a sketchy camera, and learned how scans hide — so you can spot them. Every command is explained in plain words first. Let's knock on some doors.

What is Nmap?

Nmap is short for Network Mapper. It's a free tool — running on millions of machines for over 25 years — that knocks on the doors of computers on a network and reports back which doors are open, and who's standing behind them.

THE EVERYDAY ANALOGY

🚪 A census-taker for computers

Picture a census-taker walking down a street, knocking on every door of a building. Some doors swing open — and the person who answers says what business is inside: "Apartment 80? That's the web shop." Some doors stay shut. Some nobody answers at all. The census-taker writes it all down in a neat list. That list is exactly what Nmap hands you — except the "doors" are numbered network ports, and the "businesses" are services like websites, file shares and cameras.

THE REAL TERMS

⌖ Ports & services

Every computer listens for connections on numbered doors called ports — there are 65,535 of them. Port 80 is usually a website, 443 a secure website, 22 a remote login (SSH), 445 Windows file sharing. A port can be open (something answers — that's attack surface), closed (the computer itself says "nothing here"), or filtered (a firewall swallows the knock and says nothing). Nmap sends the knocks — called probes — and reads the answers.

WHAT IT'S FOR

🧭 Three honest jobs

Network inventory — "what machines do we even have, and what's running on them?" Security auditing — defenders scan their own networks first, to find the forgotten open door before a stranger does. Troubleshooting — "the website is down… is the port even open?" Attackers use the same tool for the same reason: you can't attack — or defend — what you haven't mapped. That's why it's command number one in almost every hacker's toolkit.

🗺️ Your practice network — the HackLab LAN 192.168.56.0/24

Six fictional machines. You'll meet every one of them in the missions — and the lab's answers stay consistent, so what you learn about a host in Mission 1 is still true in Mission 9.

192.168.56.1
gw.hacklab — the gateway routerThe front door of the whole network. Runs DNS, the web admin panel and the clock service.
ROUTER
192.168.56.10
vault.hacklab — the VAULT file serverWhere the files live. SSH logins, Windows file sharing (SMB) and NFS exports.
FILE SERVER
192.168.56.20
reception.hacklab — the reception PCA Windows 10 desk machine at the front of the shop. Friendly. Chatty. Very Windows.
WINDOWS PC
192.168.56.30
shop.hacklab — the web serverThe practice store's website: HTTP, HTTPS and the MySQL database behind it.
WEB SERVER
192.168.56.40
cam.hacklab — the IoT cameraA cheap network camera. Still running telnet — an ancient, wide-open login door. The sketchy one.
⚠ SKETCHY
192.168.56.50
student.hacklab — a student workstationA quiet Linux desk box. Sometimes it hides from pings. You'll learn how to find it anyway.
WORKSTATION

Run the 25 commands

Read the mission brief, then type the command into the terminal exactly as taught. The simulated network answers like the real thing. Stuck? Type hint in the terminal. Progress saves on this device automatically.

VEX SAYSTerminal shortcuts: help lists what the terminal can do, hint nudges the current mission, clear wipes the screen, restart starts the lab over. Typos are free here — that's the whole point of a lab.
Academy art — the deep Nmap room: VEX reading a wall of scan results

The 25, on one page

Every command from the lab, in mission order. Run the lab above first — commands you have typed yourself stick in a way reading never does. Want this as a printable sheet plus the full poster set? It's free in the Vault and on the Nmap reference page.

VEX waving

Liked learning by typing, not watching?

That's the whole Academy: 185 hands-on labs, a real Kali terminal in your browser, and VEX teaching every step. Founding members join at $9.99/mo.

Become a member →