If you've spent any time configuring user authentication on... Full Story
By Manny Fernandez
November 20, 2018
Configuring Multiple Fortigate Firewalls using USB
Use Case: You have multiple Fortigate Firewalls firewalls and you want to configure them pretty much the same execpt for the obvious IP addresses, defualt gateways and the hostname. Additionally, you do not have FortiManager (which you should consider if you are going to manage numerous Fortigates). You want to create a ‘template’ config and then change the unique things for each location, upgrade the OS to the required build and drop the config. You can do this with a USB thumb drive.
Here is what you need to do:

Step one – Get a Fortigate and configure it the way you want it. In my case, I had small 30Es that come pre-configured with “softswitches” and “guestwifi” etc. I cleaned all those up and saved the config file. DO NOT ENCRYPT IT.
Step two – Modify the config file with the changes you want to make. NOTE: You need to make sure you keep the top 4 lines with the ‘#’ before them. Else you will get an ‘invalid config file’. AND NO The Alias command that contains the template Fortigate’s SN will not overwrite the real SN of the target Fortigate.

Step three – Copy the config file onto a USB thumb drive (pressumbily any will work, but I would stay away from 256GB USB and the like. 1GB one are perfect since they are useless for everything else).
You need to rename the config file ‘fgt_system.comf’ and for the FortiOS image you want to load ‘image.out’. I went from 5.3.x to 6.0.2 by just putting the 6.02 file and renaming it.

NOTE: You CAN change this file name but by default, this is the filename the Fortigate will look for. If you want to change it, it will be an additional step before you can load the config. You can find these changes in the following area of the GUI:

Or you can also find it on the CLI

Step four – Connect the USB thumb drive into the USB port on the Fortigate and reboot it (or turn it on).
The firewall will reboot and will load the FortiOS. After that, it will reboot again and then load the config file.
Look for the FortiManager version of this post coming soon.
Hope this helps
Recent posts
-
-
DNS is one of those technologies that quietly underpins... Full Story
-
BGP issues on FortiGate firewalls usually trace back to... Full Story
-
Every time your laptop talks to your router, a... Full Story
-
If you've spent any time configuring NAT on a... Full Story
-
If you have spent any time configuring firewall policies... Full Story
-
High availability on FortiGate is one of those features... Full Story
-
If you've configured SD-WAN on a FortiGate, you've almost... Full Story
-
FortiLink is the management protocol that turns a FortiSwitch... Full Story
-
FortiSwitches are pretty rock solid from Mean Time Between... Full Story
-
This is a quicky tip. Have you ever gone... Full Story
-
DNS is one of those quiet pieces of internet... Full Story
-
This article is an updated version of the previous... Full Story
-
You will add ns2 as a secondary (slave) BIND9... Full Story
-
In the process of deploying my lab, I needed... Full Story
-
RFC 8805, used to be known as Self-Correcting IP... Full Story
-
Years back, I wrote an article about certificate pinning. ... Full Story
-
FortiGates have the ability to send alerts to Microsoft... Full Story
-
In this post, I am going to walk through... Full Story
-
Troubleshooting VoIP on a FortiGate can feel like trying... Full Story
-
Prior to FortiOS 7.0, there were three commands to... Full Story
-
In this post, I am going to go over... Full Story
-
What we are going to do: We are going... Full Story
-
Choosing between FGCP (FortiGate Clustering Protocol) and FGSP (FortiGate... Full Story
-
Creating a VLAN on macOS (The "Pro" Move) A... Full Story
-
This blog post explores the logic behind how macOS... Full Story
-
Pretty Fly for a Wi-Fi Tell My Wi-Fi Love... Full Story
-
Part of my daily gig is creating BoMs (Bill-of-Materials)... Full Story
-
ICMP introduces several security risks, but careful filtering, rate... Full Story
-
The command diag debug application dhcps -1 enables full... Full Story
-
In the world of FortiOS, execute tac report is... Full Story
-
LLDP; What is it The Link Layer Discovery Protocol... Full Story
-
What it actually does When you run diagnose fdsm... Full Story
-
Monkey Bites are bite-sized, high-impact security insights designed for... Full Story
-
I have run macOS in macOS with Parallels but... Full Story
-
Don't be confused with my other FortiNAC posts where... Full Story
-
This is the third session in a multi-part article... Full Story
-
Today I was configuring key-based authentication on a FortiGate... Full Story
-
Netcat, often called the "Swiss Army knife" of networking,... Full Story
-
At its core, IEEE 802.1X is a network layer... Full Story
-
In case you did not see the previous FortiNAC... Full Story
-
This is our 5th session where we are going... Full Story
-
Now that we have Wireshark installed and somewhat configured,... Full Story
-
The Philosophy of Packet Analysis Troubleshooting isn't about looking... Full Story
-
1. High-Level Overview The FortiGate Wireless Intrusion Detection System... Full Story
-
What MIMO Actually Does Multiple Input, Multiple Output (MIMO)... Full Story
-
A practitioner's tour of the diagnose, test, and fnsysctl... Full Story