Fortigate set ip address management from console. In this article, we will learn how to configure the ip management address for the Fortigate firewall from the console.
If you’ve read my previous article on how to connect the Fortigate console from a Linux computer, now will be the next step.
You know, every network device has a default ip address, default account information. You can ask the supplier, ask the seller or search on google, that is very easy.
If you cannot know the Fortigate ip management address because it has been changed, or you purchased a used device. This article may help you a bit, I hope.
How Fortigate set ip management from console
Now, when you have connected the console to the Fortigate firewall, enter the admin user, the password is blank.
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 13:17:34
Press CTRL-A Z for help on special keys
FG200D3G12800336 #
Next, type the following command to configure the interface.
FG200D3G12800336 # config system interface
Now, you need to find the interface you need to configure. There are many other guides that will use port1
, but not always.
Use the command below to display the current configuration of the firewall.
FG200D3G12800336 (interface) # show full-configuration
You should see lines like this.
edit "mgmt"
set vdom "root"
set vrf 0
set fortilink disable
set priority 0
set dhcp-relay-service disable
set ip 192.168.1.99 255.255.255.0
set allowaccess ping https ssh http fgfm
set fail-detect disable
set pptp-client disable
set arpforward enable
set broadcast-forward disable
You can immediately see the ip address of interface management. But if you want to reset the ip address, type the following command.
FG200D3G12800336 (interface) # edit mgmt
Next, you enable some services on this interface. The purpose is for you to access it through the browser.
FG200D3G12800336 (mgmt) # set allowaccess ping http https telnet ssh
And then you set the ip management address.
FG200D3G12800336 (mgmt) # set ip 192.168.100.100 255.255.255.0
Finally, you finish setting up ip management.
FG200D3G12800336 (mgmt) # next
FG200D3G12800336 (interface) # end
FG200D3G12800336 #
Conclusion
Now, you can open your browser and try to access the ip management address you just set for the fortigate firewall. Ex: http://192.168.100.100
.
(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).