Fortinet black logo
6.1.0

Step 5: Configure access to the web UI & CLI

Step 5: Configure access to the web UI & CLI

Once it is powered on, you must log into the FortiDDoS-VM command-line interface (CLI) via the ESXi console and configure basic network settings so that you can connect to the web UI and/or CLI of the appliance through your management computer’s network connection.

To configure basic network settings:
  1. Log into the server.
  2. Select the name of the virtual appliance, such as FortiDDoS‑VM-Doc.
  3. Click the Console tab to open the console of the FortiDDoS-VM virtual appliance.
  4. At the login prompt, type admin and no password to log in.
  5. Configure the management interface, static route, and DNS server so you can access the system from a secure management network. Use the following command syntax:

config system interface

edit mgmt1

set ip <address/mask>

set allowaccess {http https ping snmp ssh telnet}

end

config system default-gateway

edit 1

set gateway <gateway_address>

end

config system dns

set primary <dns_address>

set secondary <dns_address>

end

config system l2-interface-pair

edit l2-port1-port2

set status enable

next

edit l2-port3-port4

set status enable

next

edit l2-port5-port6

next

edit l2-port7-port8

next

end

where:

  • <address/mask> is either the IP address and netmask assigned to the network interface, such as 192.168.1.99/24; the correct IP will vary by your configuration of the vNetwork.
  • <gateway_address>} is IP address of the next hop router for mgmt1.
  • <dns_address> is the IP address of a DNS server

You should now be able to connect via the network from your management computer to mgmt1 of FortiDDoS-VM using:

  • a web browser for the web UI (e.g. If mgmt1 has the IP address 192.168.1.1, go to https://192.168.1.1/).
  • an SSH client for the CLI (e.g. If mgmt1 has the IP address 192.168.1.1, connect to 192.168.1.1 on port 22).

Step 5: Configure access to the web UI & CLI

Once it is powered on, you must log into the FortiDDoS-VM command-line interface (CLI) via the ESXi console and configure basic network settings so that you can connect to the web UI and/or CLI of the appliance through your management computer’s network connection.

To configure basic network settings:
  1. Log into the server.
  2. Select the name of the virtual appliance, such as FortiDDoS‑VM-Doc.
  3. Click the Console tab to open the console of the FortiDDoS-VM virtual appliance.
  4. At the login prompt, type admin and no password to log in.
  5. Configure the management interface, static route, and DNS server so you can access the system from a secure management network. Use the following command syntax:

config system interface

edit mgmt1

set ip <address/mask>

set allowaccess {http https ping snmp ssh telnet}

end

config system default-gateway

edit 1

set gateway <gateway_address>

end

config system dns

set primary <dns_address>

set secondary <dns_address>

end

config system l2-interface-pair

edit l2-port1-port2

set status enable

next

edit l2-port3-port4

set status enable

next

edit l2-port5-port6

next

edit l2-port7-port8

next

end

where:

  • <address/mask> is either the IP address and netmask assigned to the network interface, such as 192.168.1.99/24; the correct IP will vary by your configuration of the vNetwork.
  • <gateway_address>} is IP address of the next hop router for mgmt1.
  • <dns_address> is the IP address of a DNS server

You should now be able to connect via the network from your management computer to mgmt1 of FortiDDoS-VM using:

  • a web browser for the web UI (e.g. If mgmt1 has the IP address 192.168.1.1, go to https://192.168.1.1/).
  • an SSH client for the CLI (e.g. If mgmt1 has the IP address 192.168.1.1, connect to 192.168.1.1 on port 22).