yrjarv/virtual-security-lab

Setup scripts for a 5-VM "security lab" setup, with 2 internal networks

★ 0Forks 0ShellGitHub ↗Compare

README

Virtual security lab


This has been deprecated, in favor of https://github.com/yrjarv/kali-vms-vagrant

For virtualbox. Make sure you have virtualbox installed.

Network structure

kali1 and kali2 can communicate freely with the internet (through NAT).

kali3 and kali4 can only communicate between themselves and with kali5.

kali5 can communicate with all kali* hosts, but not with the internet.
The intention is not to normally allow IP forwarding through kali5.

Installation

First, run init.sh.
Then perform installation on all the vms.
Then run after-installation.sh

IP addresses setup

Use nmtui to manually set the following IP addresses for the different interfaces on the different hosts:

Host Interface IP
kali1 eth0 10.1.0.1
kali1 eth1 Automatic
kali2 eth0 10.1.0.2
kali2 eth1 Automatic
kali3 eth0 10.2.0.3
kali4 eth0 10.2.0.4
kali5 eth0 10.1.0.5
kali5 eth1 10.2.0.5

All IPs are /16.

/etc/hosts

10.1.0.1 kali1
10.1.0.2 kali2
10.2.0.3 kali3
10.2.0.4 kali4
10.1.0.5 kali5
10.2.0.5 kali5

Contributors

yrjarv

Issues