Physical FortiGate units start at hundreds of dollars. FortiGate VM (specifically the "FortiGate-VM64" trial) is free for up to 2 vCPUs and 4GB of RAM.
config system interface edit port1 set mode static set ip 10.0.2.15 255.255.255.0 set defaultgw 10.0.2.2 next end fortigate vm virtualbox
FortiGate requires multiple network adapters to simulate "Internal" and "External" zones: Adapter 1 (Management/WAN): Bridged Adapter (to get an IP from your home router) or Adapter 2 (LAN): Internal Network Physical FortiGate units start at hundreds of dollars