Description | This article describes how to deploy the FortiClient EMS KVM image on EVE-ng and connect it to the FortiGate. |
Scope | FortiGate, FortiClient EMS. |
Solution |
Pre-Requisites:
root@eve-ng: cd /opt/unetlab/addons/qemu/fortinet-FCEMS-v7_4_1 root@eve-ng:/opt/unetlab/addons/qemu/fortinet-FCEMS-v7_4_1# mv forticlientems_vm.7.4.1.1872.qcow2 virtioa.qcow2 root@eve-ng:/opt/unetlab/addons/qemu/fortinet-FCEMS-v7_4_1# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
sudo nano /etc/netplan/01-netcfg.yaml
network: version: 2 renderer: networkd ethernets: enp0s3: dhcp4: no addresses: - <interface_ip><subnetmask> gateway4: <gateway> nameservers: addresses: - 8.8.8.8 - 8.8.4.4
In the example below, the YAML file has been configured for interface 'enp0s3' (10.0.1.150) to connect to the FortiGate (10.0.1.254) and 'enp0s4' (192.168.1.100) is to connect to FortiClient EMS's Web UI for management:
Save the configuration and apply the changes using:
sudo netplan apply
Verify the changes. The interfaces, ens3, and ens4 have been configured with the appropriate addressing to manage and connect it to the FortiGate:
ip addr show
ems@fcems-server:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 50:00:00:05:00:00 brd ff:ff:ff:ff:ff:ff altname enp0s3 inet 10.0.1.150/24 brd 10.0.1.255 scope global ens3 valid_lft forever preferred_lft forever inet6 fe80::5200:ff:fe05:0/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 50:00:00:05:00:01 brd ff:ff:ff:ff:ff:ff altname enp0s4 inet 192.168.19.100/24 brd 192.168.19.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::5200:ff:fe05:1/64 scope link valid_lft forever preferred_lft forever
With these changes, verify FortiClient EMS and reach the FortiGate: ems@fcems-server:~$ ping 10.0.1.254
In FortiClient EMS, navigate to Fabric & Connectors -> Fabric Devices -> Standalone devices -> Authorize:
Verify the Status on FortiGate:
|