Install & first sign-in
NetSimLab runs on any machine with Node.js 18 or newer (Node.js 22 recommended), or with Docker. Linux, macOS and Windows all work. A small VM or container with 1 vCPU and 1 GB of RAM is plenty.
Pick a machine that:
- you can reach from your web browser, and
- can itself reach the things NetSimLab talks to: your GNS3 servers (port 3080, or 80 on the GNS3 VM, plus the node console ports 5000 and up), your EVE-NG servers (port 80, plus the node console ports 32769 and up) and your Proxmox hosts (port 8006).
Install with Node.js
Section titled “Install with Node.js”-
Copy the NetSimLab folder onto the machine (for example with
git clone), and open a terminal in it. -
Install and build:
Terminal window npm installnpm run build -
Start it:
Terminal window npm startNetSimLab listens on port 8080. To use another port, start it with
PORT=9000 npm start.
Install with Docker
Section titled “Install with Docker”In the NetSimLab folder:
docker compose up -d --buildYour data is kept in a Docker volume, so it survives rebuilds and upgrades. To see the setup code (below), run docker compose logs. To choose the setup code yourself, set NETSIMLAB_SETUP_CODE in docker-compose.yml.
Create the admin account
Section titled “Create the admin account”The first time NetSimLab starts, the terminal shows a one-time setup code:
First run: open NetSimLab in your browser and create the admin account. One-time setup code: K7Q2M-X9PLD- Open
http://<machine>:8080in your browser. - Enter the Setup code, and choose the admin’s username, an optional display name and a password of at least 12 characters (a few random words work well).
- Click Create admin and sign in.

The setup code makes sure nobody else on your network can claim the admin account before you do. Once the admin exists, the code no longer works.
From now on, everyone signs in on the Sign in page. Add accounts for your colleagues under Users & audit.

Sample data or a clean start
Section titled “Sample data or a clean start”A new install starts with sample data: a realistic lab with four hosts, five simulation servers and six lab projects, so you can explore every page straight away.
When you’re ready to document your own lab, start empty: on the Export & backup page, restore a file containing just {"hosts":[]}. To start empty from the very beginning instead, delete data/seed.json before the first start.
Keep it running
Section titled “Keep it running”npm start stops when you close the terminal. On a Linux server, run it as a service instead. For example, /etc/systemd/system/netsimlab.service:
[Unit]Description=NetSimLabAfter=network.target
[Service]WorkingDirectory=/opt/netsimlabExecStart=/usr/bin/npm startRestart=alwaysUser=netsimlab
[Install]WantedBy=multi-user.targetThen run sudo systemctl enable --now netsimlab. With Docker, the container already restarts automatically.
Use HTTPS
Section titled “Use HTTPS”NetSimLab itself speaks plain HTTP. For HTTPS, put it behind a reverse proxy that handles the certificate (Caddy, nginx or Traefik), and start NetSimLab with TRUST_PROXY=1 so it records real client addresses and marks its cookies secure. Or keep it on a trusted network such as a lab VLAN or Tailscale.
Upgrade
Section titled “Upgrade”- Download the new version into the same folder (for example
git pull). - Run
npm installandnpm run buildagain (ordocker compose up -d --build). - Restart NetSimLab.
Your data, users and audit log are kept. Everyone is asked to sign in again after a restart.
Settings
Section titled “Settings”You can change these with environment variables when starting NetSimLab:
| Setting | Default | What it does |
|---|---|---|
PORT |
8080 |
The port NetSimLab listens on |
DATA_FILE |
data/netsimlab.json |
Where your documentation is stored |
BACKUP_DIR |
data/backups |
Where automatic snapshots are kept |
BACKUP_KEEP |
14 |
How many snapshots to keep |
SESSION_IDLE_MINUTES |
60 |
Sign people out after this much inactivity |
SESSION_MAX_HOURS |
12 |
Sign people out after this long in any case |
NETSIMLAB_SETUP_CODE |
random | A fixed first-run setup code |
TRUST_PROXY |
— | Set when running behind a reverse proxy |
IMAGES_DIR |
~/Downloads, ~/GNS3/images |
Default image folders for your own device images, separated by : |
GNS3_VM_CACHE_DIR |
data/gns3-vm |
Where GNS3 VM builds are kept (about 1 GB each) |
EVE_VM_CACHE_DIR |
data/eve-vm |
Where the Ubuntu image for EVE-NG builds is kept |
ANTHROPIC_API_KEY |
— | Anthropic API key for the Claude chat and fault injection (or add it under the chat’s ⚙ Settings) |
Next: take a tour of the app, starting with the Overview.