Forescout CounterACT FW

Versions this guide is based on:

EVE Image Foldername Downloaded Filename Version vCPUs vRAM Console HDD Type Interface
forescout-counter-7.0.0 CounterACT-7.0.0-513-2.3.0-1605.iso 7.0.0 2 4096 vnc virtioa x4 virtio

 

Instructions for Forescout CounterACT
Other versions should also be supported following bellow’s procedure.

How to is based on version Forescout CounterACT-7.0.0-513-2.3.0-1605. For other image or version please change image and folder names respectively.

1. Create Forcepoint FW image folder in the EVE-NG. Use cli:

mkdir /opt/unetlab/addons/qemu/forescout-counter-7.0.0

2. Upload the downloaded CounterACT-7.0.0-513-2.3.0-1605.iso image to the /opt/unetlab/addons/qemu/forescout-counter-7.0.0  using for example FileZilla or WinSCP. Then login as root using SSH protocol

3. Go to created folder and rename uploaded CounterACT-7.0.0-513-2.3.0-1605.iso image to cdrom.iso:

cd /opt/unetlab/addons/qemu/forescout-counter-7.0.0/
mv CounterACT-7.0.0-513-2.3.0-1605.iso cdrom.iso

4. Create HDD for Forescout CounterACT image install:

cd /opt/unetlab/addons/qemu/forescout-counter-7.0.0/
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 80G

5. Create new EVE Lab, and add newly created Forescout CounterACT image. Start it and follow the installation steps.

6. IMPORTANT: Chose 5 to shutdown node.

7. Open Image folder and remove install cdrom.iso media

cd /opt/unetlab/addons/qemu/forescout-counter-7.0.0/
rm cdrom.iso

Commit image

8. Check lab ID number on EVE side bar “Lab details”, Example:

9. EVE Cli: Convert image from lab tmp folder to defaults image location. In the command below is used lab ID (above) and as we added on lab single node, node ID is 1. Forescout image foldername match what we created before. Number 0 in the line below is user POD number. Admin pod is 0.

cd /opt/unetlab/tmp/0/72b1903b-4885-4a1c-b9e2-aed46032583a/1/
qemu-img commit virtioa.qcow2

10. Fix permissions:

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions