← Back to Guides Homepage

How to Factory Reset a FortiGate Firewall

In this guide, we will demonstrate how to factory reset a FortiGate firewall (specifically a 60E model). We will cover two distinct methods: using the physical reset button for a hardware reset, and using the Command Line Interface (CLI) via a console cable.

Method 1: Hardware Reset (The Pin Method)

This method requires physical access to the device and a small pin (like a paperclip). It is useful if you do not know the credentials or cannot access the management interface.

1. Prepare the Device

Locate the reset button on the back of the device. Start by unplugging the power cable from the firewall.

2. Initiate the Reset Sequence

Insert the pin into the reset button and hold it down. While keeping the reset button pressed, plug the power cable back in.

3. Wait for the Status LED

Keep holding the reset button. Watch the "Status" LED on the front of the device. You must wait until the status light begins to flash. This process can take a significant amount of time (several minutes on the 60E model), so be patient and do not release the button early.

4. Release and Boot

Once the status light starts flashing, you can release the pin. The device will now proceed to factory reset itself. Wait until the status light turns solid green, indicating the device is ready for connection.

Method 2: CLI Factory Reset (Console Cable)

If you have a console cable, you can reset the device via the software interface. This is often done using a USB-to-RJ45 console cable.

1. Physical Connection

Plug the RJ45 end of the console cable into the Console port of the FortiGate and the USB end into your computer.

2. Configure Terminal Software

Open Device Manager on your computer to identify which COM port the cable was assigned to (e.g., COM3).

Open a terminal program like Putty. Configure the session with the following settings:

3. Login and Execute Reset

Once connected, press Enter to see the login prompt. Log in with the default credentials:

You will be forced to create a new password upon the first login. Once logged in, execute the following command to initiate the reset:

execute factoryreset

Type y to confirm. The system will reboot and reset to factory defaults.

← Back to Guides Homepage