Get the App
SLTechnology News&Howtos  ›  Network Security  › 

GNS 3 Simulation Firewall ASA

Shulou Source: shulou.com Published: 2022-06-01 07:17:52 09月30日 Update

[simulated environment]

The GNS3 version used is 0.7.4, and if it is lower than this version, some versions will lack some options that cannot be supported.

[ASA]

ASA has two modes of compilation files, single-mode and multi-mode, which you can choose to use. I use single mode. I've tried too many modes and it doesn't work very well.

[configuration]

Open GNS3 and edit → preferences → Qemu → ASA

Add single mode:

Identifier name:asa802-k8-sing (fill in the name yourself, but not in Chinese)

RAM:256 (uses the default 256)

Number of NICs:6 (number of network cards, default is 6)

NIC model:e1000 (network card type, default is e1000)

Qemu Options:-hdachs 980pr 16pr 32murvnc: 1 (manual input)

Initrd:G:\ GNS3\ Fw\ ASA\ Run\ asa802-k8-sing.gz (the path to the compiled file, the path where you store it)

Kernel:G:\ GNS3\ Fw\ ASA\ Run\ asa802-k8.vmlinuz (the path to the kernel file, the path where you store it)

Kernel cmd line:autoconsole=ttyS0,9600n8 nousb ide1=noprobe bigphysarea=16384 hda=980,16,32 (critical, otherwise you can't telnet)

After typing, click Save, which will appear in the list below.

Then press ok to save and the configuration is successful.

Single mode initialization

1. Open GNS3, drag ASA firewall from the left, and select asa802-k8-sing (Identifier name entered above)

2. Double-click the left button to run ASA5, finish loading, and press enter, as shown in the figure:

3. Initialize in single mode:

Command: / mnt/disk0/lina_monitor

4. After initialization, the ciscoasa > prompt appears and the password is empty. When the flash space is 0, the configuration cannot be saved.

Restart ASA5, and then show flash, the space is not zero. But if you use the wr command at this time, you will report an error.

5. To solve the problem of wr error report, enter the following command in global mode: if there is an error in the execution process, you can ignore it and enter directly.

Copy running-configdisk0:/.private/startup-config

Boot config disk0:/.private/startup-config

After the execution, you will not make a mistake if you save it on wr.

6. First turn off the firewall, then turn it on, and finally configure it.

Tags: Mode path configuration command file version input space network card compilation selection firewall fire protection success global key kernel name password that is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MariaDB Microsoft Redmi Shulou Tech Info