Fortigate set ip address management from console

by Daniel Pham
Published: Updated:

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.

Fortigate set ip address management from console
Fortigate set ip management from console.

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).

0 0 votes
Article Rating

You may also like

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.