This is an old revision of the document!
Starting with week 3, we are going to work with pfSense, an open source firewall with documentation that can be consulted here.
1. Download the iso.gz file: https://www.pfsense.org/download/ (latest version tested 2.7
)
2. Copy downloaded archive to eve-ng instance using scp
3. Go through the steps from eve-ng website: https://www.eve-ng.net/index.php/3380-2/ (use as folder name pfsense-2.7.0
). Make sure to power off the instance and save the snapshot as a new base image in path /opt/unetlab/addons/qemu
4. Power on the instance again, set the ip addresses for vtnet0
(WAN, using DHCP) and vtnet1
(LAN, choose default subnet 192.168.1.0/24).
5. Look over the commands from console menu: https://docs.netgate.com/pfsense/en/latest/config/console-menu.html. Go to shell and find the ip address for interface vtnet0 (it should be in subnet 10.6.0.0/16).
6. Try to access the webGUI interface using browser. Does it? Why not? (hint: https://advanxer.com/2019/12/pfsense-enabling-administration-via-the-wan-interface/)
7. At last, login using default credentials (https://docs.netgate.com/pfsense/en/latest/usermanager/defaults.html) and go through the setup part (do not forget to save the new password!).