Frotimanager on Openstack
Ref: docs.fortinet.com
Get FMG_VM64_KVM-v6-build0205-FORTINET.out.kvm.zip or later from https://support.fortinet.com unzip it
openstack image create --disk-format qcow2 --container-format bare "FMG" --file fmg.qcow2
openstack volume create --size 80 fmg-log1
export OS_FLAVOR="2C-4GB"
openstack server create --image "FMG" fmg60 --key-name default --security-group default \
--flavor $OS_FLAVOR --nic net-id=mgmt,v4-fixed-ip=192.168.1.99 --block-device-mapping vdb=fmg-log1
You should have minimum changes if configuring mgmtB as 192.168.1.0/24 which is the default network Fortimanager is on.
You then need to update your interface to the openstack one (no dhcp)
openstack server list
+--------------------------------------+-------+--------+---------------------------------+-----------+--------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-------+--------+---------------------------------+-----------+--------+
| 42c2fd39-b27a-4111-b6fd-5e7c81626c52 | FMG | ACTIVE | mgmt=192.168.1.99, 77.81.7.183 | FMG 6.0.2 | 2C-4GB |
+--------------------------------------+-------+--------+---------------------------------+-----------+--------+
It is up to you to connect or not a floating ip.
Adapt to your IP and gateway:
Log to the console (vnc on openstack), user admin no passwd.
config system interface
edit port1
set ip 192.168.1.99 255.255.255.0
end
config system route
edit 1
set device "port1"
set gateway 192.168.1.1
#must match your network mtu# set mtu 1400
end
API access
You must run the followin cli on FMG to be able to use the API
config system admin user
edit admin
set rpc-permit read-write
end