Ethical.Hacking.2021.10:Virtual Lab Setup

网络拓扑结构

Setting Up pf Sense

https://www.pfsense.org/download/

Choose the AMD64(64-bit) architecture, the DVD image (ISO) installer

新建一个虚拟机:pf Sense as the name, BSD as the type, and Free BSD (64-bit) as
the version.

The pf Sense virtual machine doesn’t require much RAM, so set the memory size to 1024MB.

Select VDI(Virtual Box Disk Image) for the hard disk file type.

virtual hard disk dynamically allocated and set its size to 5GB

the pfSense firewall as a gatekeeper that stands between the internet and your internal network.

the network adapter in the Adapter 1 tab is enabled and attached to a Bridged Adapter
with the same name as your wireless/Ethernet card.

click the Adapter 2 tab and make sure Enable Network Adapter is enabled and that it is
attached to an Internal Network that we will name Internal LAN.


Configuring pf Sense

select your pfSense ISO image and then click Start.

接受默认配置选项:Press ENTER to accept and press ENTER again to install pf Sense. As a rule of thumb, stick with the default options.

Once pfSense has booted, you should see a screen that looks like this:


Setting Up Metasploitable

Download the Metasploitable virtual machine from Sourceforge at
https://sourceforge.net/projects/metasploitable/.

Metasploitable, its type to Linux, and its version to Ubuntu (64-bit)

On the Memory Size page, use the suggested amount of memory. When prompted to choose a hard disk, select Use an existing virtual hard disk file

Under Adapter 1,select the Enable Network Adapter checkbox and select the internal network we created earlier (Internal LAN) in the Attached to drop-down menu

Log in using the username msfadmin and password msfadmin

sudo vim /etc/resolv.conf (设置dns:nameserver IP地址,Windows系统下的虚拟机需要设置此项,MAC不用)


Setting Up Kali Linux

Adapter 1:Select the Enable Network Adapter checkbox and set Attached to from the drop-
down menu to Internal Network. Leave the name as “Internal LAN

sudo vim /etc/resolv.conf (设置dns:nameserver IP地址,Windows系统下的虚拟机需要设置此项,MAC不用)

If your Kali Linux displays nothing but a black screen, make sure the PAE/NK checkbox is selected in Settings▶General▶Processors.


Setting Up the Ubuntu Linux Desktop

 the Ubuntu machine that is attached to our internal LAN

sudo vim /etc/resolv.conf (设置dns:nameserver IP地址,Windows系统下的虚拟机需要设置此项,MAC不用)

Ubuntu as the name, Linux for the type, and Ubuntu (64-bit) for the version

allocate 2048MB of RAM and a 10GB hard disk.

可以用vagrant下载安装Ubuntu

猜你喜欢

转载自blog.csdn.net/lm19770429/article/details/121745494