Site icon Networkhunt.com

Add pfSense firewall in Eve-ng

how to add pfsense firewall in eve-ng

pfSense is a free and open-source firewall and router that also features unified threat management, load balancing, multi-WAN, and more. pfSense firewall is used mostly in cloud-enabled environments. pfSense firewall offers free and one of the best services to the small enterprise industry.
In this post, we will provide all the steps in detail to add pfSense firewall in eve-ng. Eve-ng is one of the best network simulator available today. Eve-ng community is free edition software available for networkers that help to learn, practice for certification, design the network efficiently.

There are 5 simple steps To add a pfSense firewall in eve-ng,

  1. Download pfSense firewall image pfSense-CE-memstick-serial-2.4.4-RELEASE-p3-amd64.img.gz
  2. Create Image directory for pfSense firewall in EVE-NG
  3. Upload Cisco pfSense firewall image to Eve-ng.
  4. Fixing the permission
  5. Adding Node and Starting Cisco pfSense firewall.

pfSense firewall requires 1 CPU and 2048 mb RAM in eve-ng to work properly.

EVE Image NameDownloaded FilenameVersionvCPUsvRAMConsole
pfSense-CE-memstick-serial-2.4.4-RELEASE-p3-amd64.img.gzpfsense-CE-2.4.42.4.412048Telnet

1. Download pfSense firewall image pfSense-CE-memstick-serial-2.4

pfSense firewall is open source and is freely available. you can download the pfsense firewall directly from the pfsense download link mentioned below but these images need to be converted to Eve-ng image format.
https://nyifiles.pfsense.org/mirror/downloads/

or you can directly download the converted images for your eve-ng from the below link.

Download pfSense firewall 2.4 image for Eve-ng

2. Create Image directory for pfSense firewall in EVE-NG

SSH to EVE and login as root, from cli and create image directory in the EVE:
mkdir /opt/unetlab/addons/qemu/pfSense-2.4/

3. Upload Cisco pfSense firewall image to Eve-ng.

Upload the downloaded image to the EVE using for example FileZilla or WinSCP. Then login as root using SSH protocol and uncompress it:
create the abc directory and upload the image in the directory using FileZilla or WinSCP and then decompressing the image.
Upload the downloaded image to the EVE using, for example, FileZilla or WinSCP.
Go to image directory and upload the pfSense firewall images to pfSense-2.4 folder

4. Fixing the permission

This is the last step, after uploading the pfSense firewall to pfSense-2.4 folder we need to fix the permission. Use the below command in cli to fix the permission in eve-ng

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

5. Adding Node and Starting pfSense firewall.

After fixing the Permission, just go to EVE-ng GUI. Right-click and select pfSense firewall in nodes.

Exit mobile version