Set up a scan VM
Set up a local customized Windows VM
Configure the Network Interface of Port 3
The FortiSandbox instance uses Port 3 to communicate with local Windows or Linux clones. If you need to use a local Custom VM on FortiSandbox,you need to ensure that there are at least 3 NICs when creating a FortiSandbox instance, which belongs to two different subnets. The subnet where Port 3 is located can be a private network. If it needs to connect to the Internet when performing scanning jobs, you also need to configure the corresponding NAT Gateway.
After the FortiSandbox instance is created, start the instance and go to System > Interfaces to verify the network interface is attached and the IP address is set as desired.
To connect Port 3 NIC to the Internet when performing scanning jobs:
- Go to Scan Policy and Object > General Settings.
- Enable Allow Virtual Machines to access external network through outgoing port3.
- Enter the Gateway as
x.x.x.1
and DNS as8.8.8.8
. - Click OK.
- Go to the FortiSandbox firmware CLI. Test the Port3 internet access using the CLI command:
test-network vm_connect
The following image shows that Port 3 can access the Internet normally.
Create customized VM for OCI
To create a custom Windows VM for OCI, follow the steps in Custom VM Guide which can be found in the Fortinet Developer Network or is available upon request from Customer Support.
OCI uses VirtualBox Disk Image ( |
Install the custom VM using the CLI
To install and enable a custom VM on OCI:
- Upload the custom VM VirtualBox Disk Image (
.vdi
) file to a server accessible by the FortiSandbox instance. - Go to the FortiSandbox firmware CLI. Import the OCI Custom VM image using the CLI command vm-customized.
vm-customized
For more information about the vm-customized command, see the FortiSandbox CLI Reference Guide in the Fortinet Document Library.
CLI Command Usage: vm-customized -cn –t<ftp|scp> For download, FTP or SCP. The default is scp -s <server IP address> Download/Upload an image file from/to this server IP address. –u<username> -p<password> -f < VM VirtualBox Disk Image (.vdi) file path> -d <hardware ID or machine ID> The original hardware ID or machine ID. -k <MD5 checksum for uploaded file> The MD5 checksum for uploaded file. -vo <OS type> Windows7 Windows7_64 Windows81 Windows81_64 Windows10 Windows10_64 Linux Linux_64 -vn <VM name>
- In the FortiSandbox GUI, go to Scan Policy and Object > VM Settings and change Clone # to 1 or higher, then click Apply.
- Wait until the VM initialization process is done. Once the initialization process is done, you should be able to see the Custom VM is activated and loaded on FortiSandbox GUI. This process may take up to ten minutes to complete.
- In the FortiSandbox GUI, go to the Dashboard to verify there is a green checkmark beside Windows VM.
- To associate file extensions to the custom VM, go to Scan Policy and Object> Scan Profile and click the VM Association tab.
Set up a Windows Cloud VM
- Go to Scan Policy and Object > VM Settings.
- For the WindowCloudVM change the Clone # to a value greater than 0 and click Apply.
A Windows/MACOS Cloud VM support contract support is required.