
GNS3 home lab documenting a segmented network with Cisco ASAv firewall, L3 core, DMZ, and an Active Directory domain for practicing networking, sysadmin, and offensive security.

HomeLab is a GNS3 lab built on a single laptop (OMEN 16, i7-14650HX, 32 GB RAM, RTX 4060 8 GB) to practice networking, systems administration, and offensive security in one environment. It models a perimeter with a firewall (Cisco ASAv), a DMZ (Ubuntu Server), a routed core (SW-L3 + two access switches), and an Active Directory domain kooler.local running on Windows Server 2025. Attacker platforms (Kali, Exegol) sit on the untrusted outside segment alongside a NAT gateway to the internet. The number of assets, host types, and configured services is based on my host specs, so that the entire environment can run simultaneously without the PC sweating too much and the VMs get decent resources.
Note: This is a baseline setup to get started with, so customize as needed. Tools and concepts like server hardening, SIEM, EDR, C2 server, and LAN pivoting for further testing are left for you to implement, depending on what you want to train on. Only the global architecture will be documented over time and tracked in CHANGELOG.md. In addition, if the ASAv firewall is in evaluation mode like mine, the bandwidth is throttled and capped at 100 Kbps, which can affect network performance (external source → DMZ, inside → Internet). So I temporarily use an additional network adapter on the VMs (VMware NAT) for demanding network traffic like system updates or large software downloads. Take snapshots of components as you test and break stuff. Enjoy and grow!
This repository documents a personal, isolated lab built for education and skills practice. By using anything in it, you agree to the following:
A condensed path to get the lab running. Details for each piece are in the sections below.
HomeLab/
├── Docs/
│ ├── Topology.png # Topology diagram
│ └── CHANGELOG.md # CHANGELOG
├── Configs/
│ ├── Appliance/ # Router, FW, SW-L3, L2-SW-1, L2-SW-2 configs
│ └── VM/
│ ├── Attack Host/ # Kali setup script + README
│ └── Ubuntu/ # DMZ target setup script + README
├── CONTRIBUTING.md
└── LICENSE
git clone https://github.com/Ko0ler/HomeLab.git
cd HomeLab
Docs/Topology.png, using the addressing table below.Configs/Appliance/, in this order: SW-L3.cfg, L2-SW-1.cfg, L2-SW-2.cfg, Router.cfg, then FW.cfg. Open each file and review it first. Replace any value specific to your environment, then paste it into the node console.# From the attack host: reach the published DMZ address
ping -c 3 [DMZ_MAPPED_IP]
curl -I http://[DMZ_MAPPED_IP]:[SERVICE_PORT]
# From an inside host: reach the DMZ and the internet
ping [DMZ_HOST_IP]
ping [INTERNET_TEST_IP]
On the ASA, show nameif, show xlate and show conn confirm interfaces, NAT, and active flows.The ASAv bandwidth cap in evaluation mode (see the Note above) makes DMZ and internet traffic slow. This is expected, not a misconfiguration.
Chain: Kali/Exegol + NAT (Switch-X) → Router → ASAv Firewall (with DMZ leg) → SW-L3 → L2-SW-1 / L2-SW-2 (VLANs).
| Segment | Subnet | Notes |
|---|---|---|
| Outside / untrusted | 192.168.160.0/24 | Switch-X: Kali/Exegol, NAT cloud; Router at .100 |
| Router ↔ FW outside | 10.10.3.0/29 | Router .1, ASA outside .2, DMZ NAT .3 |
| FW ↔ DMZ | 10.10.2.0/30 | ASA dmz .2, Ubuntu .1 |
| FW ↔ SW-L3 (inside) | 10.10.1.0/30 | ASA inside .2, SW-L3 .1 |
| VLAN 30 (VPCS) | 192.168.30.0/24 | PC-C, PC-D |
| VLAN 40 (Workstations) | 192.168.40.0/24 | behind L2-SW-2 — Windows 10, PC-B |
| VLAN 50 (Servers) | 192.168.50.0/24 | behind L2-SW-1 — Windows Server 2025 (DC01), PC-A |
| VLAN 100 (Management) | 192.168.100.0/24 | SVI present on SW-L3; trunked, not yet in ASA object group |
Trunk links SW-L3 ↔ L2-SW-1/L2-SW-2 carry VLANs 30, 40, 50, 100 (native VLAN 999, dot1q).
| Device | Role | Platform | Key interfaces |
|---|---|---|---|
| Router | Edge router, NAT-side gateway | Cisco IOSv 15.9 | Gi0/0 10.10.3.1/29 (to FW); Gi0/1 192.168.160.100/24 (to Switch-X) |
| FW | Perimeter firewall, DMZ | Cisco ASAv 9.22(1)1 | outside 10.10.3.2/29; dmz 10.10.2.2/30; inside 10.10.1.2/30 |
| SW-L3 | Core L3 switch, inter-VLAN routing | Cisco IOSv L2 15.2 | Gi0/0 10.10.1.1/30 (to FW); Gi0/1-0/2 trunks to L2-SW-1/2; SVIs for VLAN 30/40/50/100; VTP server mode |
| L2-SW-1 | Access switch | Cisco IOSv L2 15.2 | VLAN 50 access ports (WinServer2025, PC-A); VTP client mode |
| L2-SW-2 | Access switch | Cisco IOSv L2 15.2 | VLAN 40 access ports (Windows 10, PC-B); VLAN 30 (PC-D); VTP client mode |