Security skills are learned by doing, and doing means attacking systems. The only safe and legal way to practise is against systems you own or are explicitly authorized to test. A private lab on VPS or dedicated servers gives you realistic targets, always available, without risking anyone else's systems. This guide explains how to build one responsibly.
Ground Rules
- Authorization: test only systems you own or have written permission to test, within an agreed scope and time.
- Provider policy: read your hosting provider's acceptable use policy; scanning or exploiting systems you do not own is prohibited and illegal.
- Containment: vulnerable targets must not be reachable from the internet.
- Purpose: learning, research and authorized engagements, never attacks on third parties.
Lab Architecture
you ─▶ VPN (WireGuard/OpenVPN) ─▶ lab network
├─ attack box (Kali Linux)
├─ web targets (containers: DVWA, Juice Shop)
├─ Linux target VMs
└─ Windows / Active Directory targets (optional)
public internet ✗ no access to targets
All lab traffic stays inside the VPN or a private network. Firewall rules allow nothing from the internet to the targets, and restrict targets' outbound traffic to what exercises need.
The Attack Machine
Kali Linux bundles common security tools. Run it on a VPS reachable through the VPN, or use a Kali desktop over RDP for a graphical environment (see ServoMix's Kali Linux RDP page). Keep it updated, and do not store client data from real engagements on a shared lab box.
Targets
| Target type | Examples | How to run |
|---|---|---|
| Vulnerable web apps | DVWA, OWASP Juice Shop, WebGoat | Containers on a private network |
| Vulnerable Linux machines | Metasploitable-style VMs, practice VMs | VMs on a hypervisor (dedicated server or nested where supported) |
| Windows and Active Directory | Evaluation Windows Server images with a lab domain | VMs with more RAM |
| Your own applications | Staging copies of your products | Isolated environment with test data only |
Use evaluation licences properly for Windows and never use production data.
VPS or Dedicated Server?
Container-based web labs run well on a VPS. Labs with many full VMs, especially Windows and Active Directory, are easier on a dedicated server running a hypervisor such as Proxmox, where you can create private networks and snapshots freely. ServoMix's dedicated servers include 128 GB RAM for larger labs.
Snapshots and Resets
Exercises change targets. Snapshot targets in a clean state and reset them after each session, or rebuild containers from images. Automate resets so the lab is always ready and nothing compromised lingers.
Logging and Documentation
Log what you do: commands, tools, timestamps and findings. For authorized engagements, this record supports your report and protects you if questions arise. In the lab, it turns practice into reusable notes and helps you write better detection rules for defenders (see our honeypot guide for the defensive side).
Securing the Lab Itself
- Access only through a VPN (see our OpenVPN guide) with strong authentication.
- Separate the lab from production infrastructure and accounts.
- Restrict outbound traffic from targets.
- Remove or stop targets you are not using.
Sizing
| Lab | Suggested resources |
|---|---|
| Attack box plus containerised web targets | 4 vCores / 16 GB |
| Several Linux VMs and web targets | 8 vCores / 32 GB |
| Windows / Active Directory lab with many VMs | Dedicated server with 128 GB RAM |
Labs for Teams and Training
Training providers and companies running internal training can give each learner an isolated set of targets, reset between sessions, with access through individual VPN accounts. Document lab rules and scope for participants, and monitor usage.
Example: A Small Consultancy's Lab
A security consultancy runs a dedicated server with Proxmox hosting a Kali VM, a Windows Active Directory lab and several vulnerable Linux VMs on an internal network. Consultants connect through WireGuard, targets have no internet access, snapshots reset everything nightly, and the lab is used to rehearse techniques before authorized client engagements.
Common Mistakes
- Exposing intentionally vulnerable apps to the internet.
- Scanning or testing systems without written authorization.
- Mixing lab and production on the same server or account.
- Never resetting compromised targets.
- Ignoring the provider's acceptable use policy.
In Short
Build labs on infrastructure you control, keep vulnerable targets behind a VPN, test only what you are authorized to test, follow provider policies, snapshot and reset, and document your work.
Next Steps
Write down your lab's rules and scope, set up a VPN, deploy an attack box and one containerised target, confirm nothing is reachable from the internet, then add targets one at a time. Security tools are only as good as the people and routines around them, so assign an owner, schedule regular reviews and record what you change and why.
ServoMix Plans for This Workload
A small lab (attack box plus two or three targets) fits 4 vCores / 16 GB with containers; larger labs with Windows and Active Directory targets suit 8 vCores / 32 GB or a dedicated server running a hypervisor.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| SMX vPro XS (AMD EPYC) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹420/mo | Websites, small APIs, bots, staging and VPN servers | Order |
| SMX vPro S (AMD EPYC) | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹560/mo | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| SMX vPro M (AMD EPYC) | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹840/mo | Production databases, high-traffic sites, multi-container apps | Order |
| SMX vPro L (AMD EPYC) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹1,120/mo | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| SMX vCore XS (Intel Xeon) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹270/mo | Business websites, small apps, scheduled jobs and bots | Order |
| SMX vCore S (Intel Xeon) | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| SMX vCore M (Intel Xeon) | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| SMX vCore L (Intel Xeon) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,248/month | High-memory workloads and consolidated production servers | Check stock |
Dedicated Server India
Unshared bare-metal servers in Noida with 1 Gbps connectivity.
| Plan | Cores / Threads | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| 2× Intel Xeon Platinum 8168 (Noida) | 48 / 96 (2.7 GHz base, 3.7 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹15,948/month | Virtualization hosts, large databases, many-tenant platforms | Order |
| AMD EPYC 7C13 (Noida) | 64 / 128 (2.0 GHz base, 3.7 GHz boost) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹18,948/month | Highly parallel workloads, container platforms, private cloud | Order |
Prices are monthly in INR as listed on the ServoMix store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.
Frequently Asked Questions
Can I build a penetration testing lab on a VPS?
Is it legal to scan other servers from my lab?
Should vulnerable apps be public?
What targets can I use?
Do I need a dedicated server?
Can I run Kali Linux remotely?
How do I reset targets?
Why check the provider's acceptable use policy?
Should I log my lab activity?
Which plan suits a security lab?
Related Guides
Frequently Asked Questions
Can I build a penetration testing lab on a VPS?
Yes, for systems you own, with vulnerable targets kept private behind a VPN.
Is it legal to scan other servers from my lab?
Only with written authorization from their owner; otherwise it is prohibited and may be illegal.
Should vulnerable apps be public?
No, keep them reachable only through a VPN or private network.
What targets can I use?
DVWA, OWASP Juice Shop, WebGoat, practice VMs and staging copies of your own applications.
Do I need a dedicated server?
Not for container-based web labs; Windows and Active Directory labs with many VMs suit a dedicated server.
Can I run Kali Linux remotely?
Yes, on a VPS or as a Kali desktop over RDP.
How do I reset targets?
Use snapshots or rebuild containers from images after each session.
Why check the provider's acceptable use policy?
Providers restrict scanning and exploitation; follow their rules to avoid suspension.
Should I log my lab activity?
Yes, for learning, reporting and accountability.
Which plan suits a security lab?
4 vCores / 16 GB for container labs; a dedicated server for large VM labs.
Your feedback helps us continuously improve ServoMix guides.
Know someone who may find this guide useful?
