Perhaps the most educational aspect of this setup is the configuration of VirtualBox networking. Unlike a standard virtual machine running a desktop operating system, a firewall requires multiple network interfaces to function—specifically, a WAN port for external traffic and a LAN port for internal traffic. VirtualBox offers various network modes such as NAT, Bridged, and Host-Only, each simulating a different physical connection type. Configuring these interfaces forces the user to understand network isolation and traffic flow. For instance, setting the first interface to NAT allows the VM to access the internet for licensing and updates, while setting a second interface to "Internal Network" allows it to communicate with other VMs, such as a Windows or Linux client, simulating a protected internal network segment.
Select as the product and KVM or VMware as the platform. fortigate vm virtualbox