[ Attacker VM ] --- [ VyOS RT/FW ] --- [ Metasploitable2 ] --- #[ Metasploitable3? ]
|
+--- [ OWASP BWA ]
[ ] Kali Linux (Attacker machine)
[ ] Metasploitable 2 (Target 1)
(msfadmin : msfadmin)
[ ] OWASP BWA (Target 2)
[ ] VyOS (Router/Firewall)
(vyos:vyos)
Build <attacker><targets> VMs
Finish general setup for <firewall> VM
Configure IP address to the firewall and enable SSH
#config
#set interfaces ethernet eth0 addresss x.x.x.x/xx
#set service ssh
#commit
#save
Log in to the FW from other VM
(I logged in from Kali for convenience)
# ssh [email protected]/xx (IP address configured in step 3)
Configure FW
Reference : VyOS quick start