fortios 虚拟机_如何通过为管理端口设置静态IP来首次设置FortiOS或FortiGate?

本教程介绍了如何在FortiOS或FortiGate虚拟机上进行首次设置,包括从控制台或CLI登录,进入接口配置模式,为管理接口设置静态IP地址,并通过Ping测试网络连接。最后,可以通过Web界面访问FortiGate。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

fortios 虚拟机

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。

Login From Console or CLI
Login From Console or CLI
从控制台或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 Interface Configuration Mode
Enter Interface Configuration Mode
进入接口配置模式

进入管理界面(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
Enter To The Management Interface
Enter To The Management Interface
进入管理界面

设置静态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
Set Static IP Address
Set Static IP Address
设置静态IP地址

通过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
Test Connectivity By Pinging Default Gateway
Test Connectivity By Pinging Default Gateway
通过Ping默认网关测试连接

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
Open Web Interface
Open Web Interface
开放式网页界面
LEARN MORE  How To Ping Specified Port Number?
了解更多信息如何Ping指定的端口号?

翻译自: https://www.poftut.com/how-to-setup-fortios-or-fortigate-for-the-first-time-by-setting-static-ip-for-the-management-port/

fortios 虚拟机

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值