Fortinet Document Library

Version:


Table of Contents

FortiGate-VM on VMware ESXi

Resources

Upgrade Path Tool
  • Select version:
  • 6.0
6.0.0
Download PDF
Copy Link

FortiGate configuration script

The configuration script for a FortiGate-VM uses standard FortiOS CLI syntax.

Here is a simple example below, where the hostname is Example-Day0 and port1 is configured to use DHCP to get an IP address.

cat config-drive/openstack/latest/user_data

#Example FGT Day0 Configuration

config system global

set hostname Example-Day0

end

 

config system interface

edit port1

set mode dhcp

set allowaccess https ssh ping

end

fgt-user@ubuntu:/var/tmp$

Resources

FortiGate configuration script

The configuration script for a FortiGate-VM uses standard FortiOS CLI syntax.

Here is a simple example below, where the hostname is Example-Day0 and port1 is configured to use DHCP to get an IP address.

cat config-drive/openstack/latest/user_data

#Example FGT Day0 Configuration

config system global

set hostname Example-Day0

end

 

config system interface

edit port1

set mode dhcp

set allowaccess https ssh ping

end

fgt-user@ubuntu:/var/tmp$