Topology

[ Attacker VM ] --- [ VyOS RT/FW ] --- [ Metasploitable2 ] --- #[ Metasploitable3? ]
                              |
                              +--- [ OWASP BWA ]

Elements

System Setups

VyOS Setup

Steps

  1. Build <attacker><targets> VMs

  2. Finish general setup for <firewall> VM

  3. 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
    
  4. 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)
    
  5. Configure FW

    Reference : VyOS quick start