
fortios 虚拟机
FortiGate is successful Next Generation Firewall which provides a lot of features for to day needs. The Forti family have products from WAN optimizer to APT sandbox. In this tutorial we will look how to setup FortiGate or FortiOS for the first time. We assume we have all ready downloaded and imported into VMware or similar virtualization platform.
FortiGate是成功的下一代防火墙,它提供了许多满足日常需求的功能。 Forti系列拥有从WAN优化器到APT沙箱的产品。 在本教程中,我们将首次了解如何设置FortiGate或FortiOS。 我们假设已经准备好全部下载并导入到VMware或类似的虚拟化平台中。
从控制台或CLI登录 (Login From Console or CLI)
First we need to login from cli. Because Forti do not have nay IP address specified and in order to access. So the default user name is admin
and default password is empty. We can just put enter to login cli.
首先,我们需要从cli登录。 因为Forti没有指定IP地址和要访问的IP地址。 因此,默认用户名为admin
,默认密码为空。 我们只需要输入enter即可登录cli。

进入接口配置模式(Enter Interface Configuration Mode)
In order to set IP address we should enter configuration mode. We can enter interface configuration mode with the following command.
为了设置IP地址,我们应该进入配置模式。 我们可以使用以下命令进入接口配置模式。
$ config system interface

进入管理界面(Enter To The Management Interface)
We will select the management interface to set IP address. In Fotinet the management interface is called mgmt
and can be enter management interface config like below.
我们将选择管理界面来设置IP地址。 在Fotinet中,管理界面称为mgmt
,可以如下输入管理界面配置。
$ edit mgmt

设置静态IP地址(Set Static IP Address)
Now we will set IP address we want. In this example our IP address will 192.168.115.200/24
. Te default gateway will be 192.168.115.1
. We will use set ip
command like below.
现在我们将设置所需的IP地址。 在此示例中,我们的IP地址将为192.168.115.200/24
。 默认网关为192.168.115.1
。 我们将使用如下所示的set ip
命令。
$ set ip 192.168.115.200 255.255.255.0

通过Ping默认网关测试连接(Test Connectivity By Pinging Default Gateway)
Now we can test out connectivity to the network. We will ping to the default gateway where we assume the default gateway response to our ping or ICMP packages. But we will first exit from interface configuration mode with end
. After that we will use execute ping
.
现在我们可以测试到网络的连接性。 我们将ping到默认网关,在此我们假定默认网关对ping或ICMP软件包的响应。 但是我们将首先使用end
从接口配置模式退出。 之后,我们将使用execute ping
。
$ end
$ execute ping 192.168.115.1

FortiGate Web界面(FortiGate Web Interface)
Now we can use FortiGate web interface by using https
protocol. We will type our static IP address too. We will use same username admin
and empty password.
现在我们可以通过https
协议使用FortiGate Web界面。 我们也将键入我们的静态IP地址。 我们将使用相同的用户名admin
和空密码。
https://192.168.155.200

fortios 虚拟机