A FortiGate is a security appliance that protects a computer network by inspecting traffic and blocking threats. For someone studying for the NSE4 exam, understanding how to turn on a new FortiGate, connect its network ports, and set up basic access is the foundation for everything else — like learning to start a car before you learn to drive. This chapter gives you the hands-on steps and conceptual knowledge you need to get a FortiGate ready for work, which is the first thing every network security professional does on the job.
Jump to a section
A simple way to picture FortiGate Overview and Initial Setup
A new flat is an empty space with no working utilities. You have just moved in, and the flat has four rooms, a kitchen, and a bathroom, but the electricity, water, and gas are all disconnected. The flat's walls have sockets, taps, and gas points, but nothing flows through them yet. Your first job is to give each socket a purpose: the living room socket is for the TV, the bedroom socket is for the lamp, and the kitchen socket is for the fridge. These sockets are the interfaces on a FortiGate. You connect the flat to the mains electricity via the main breaker box; this is like connecting the FortiGate to your internet service provider's cable. Then you decide that only certain sockets should be usable when you are not home. The front door socket stays live because the doorbell camera needs power, but the bedroom socket switches off. This is administrative access — you choose which interfaces allow remote logins and which stay locked down. Finally, you upgrade the flat's electrical wiring to a newer, safer standard by having an electrician replace the old wires. That is the firmware upgrade: you replace the FortiGate's operating system with a newer version to fix bugs and add features. Until you assign interfaces, set access rules, and update the firmware, the flat has no useful service.
Moving into the flat without doing these steps means you cannot use any appliance. A FortiGate without initial setup is exactly the same: it cannot protect a network, filter traffic, or connect devices until you configure its interfaces, enable administrative access, and ensure it runs the correct firmware version.
A FortiGate is a hardware or virtual device made by Fortinet that acts as a next-generation firewall. 'Next-generation' means it does more than just stop unwanted traffic: it can also inspect the content inside the traffic (like checking a package for illegal items without opening it), stop viruses, prevent intrusions, and control which applications employees can use. A firewall, in general, is a system that decides which data can enter or leave a private network based on pre-set rules.
To understand initial setup, you need to know three core ideas: interfaces, administrative access, and firmware.
Interfaces are the physical or virtual network ports on the FortiGate. Each interface is a connection point where you plug in a network cable. A typical FortiGate has several interfaces labelled with names like 'port1', 'port2', 'port3', and so on. When you first power on a FortiGate, every interface is a blank slate — it has no internet protocol (IP) address, no connection to a network, and no defined role. An IP address is a unique number assigned to each device on a network, like a postal address for your computer. You must assign an IP address to each interface you plan to use, and you must decide which network that interface connects to. The most common setup is to designate one interface as the 'WAN' (wide area network) port that connects to your internet service provider's modem, and another interface as the 'LAN' (local area network) port that connects to the switches and computers inside your office. The FortiGate then acts as a bridge between these two networks, inspecting all traffic that passes from one to the other.
Administrative access is the set of methods you enable so that IT staff can log into the FortiGate to manage it. You never want a stranger to be able to reach the FortiGate's control panel, so you deliberately turn on only the access methods you need and restrict them to trusted IP addresses. The common access methods are:
HTTPS (web access): you log in through a web browser using a secure connection.
SSH (secure shell): you log in through a command-line interface using encrypted text commands.
Ping: you test whether the interface is reachable on the network (often left disabled for security).
SNMP (simple network management protocol): monitoring tools collect performance data from the FortiGate.
Telnet: an older, unencrypted method that is almost never used because it sends passwords in plain text.
Each interface can have its own set of allowed access methods. For example, you might allow HTTPS and SSH on the LAN interface so your IT team can manage the device from inside the building, but you would disable all administrative access on the WAN interface to prevent attackers from trying to hack the FortiGate from the internet.
Firmware is the operating system that runs on the FortiGate, called FortiOS. Like Windows or macOS, FortiOS gets updates that fix errors, close security holes, and add new features. A firmware upgrade is the process of installing a newer version of FortiOS onto the device. Before you do anything else with a new FortiGate, you should check whether it is running the latest stable firmware version supported by Fortinet. Why? Because an older firmware might have known vulnerabilities that attackers could exploit to break into your network. Upgrading is done through the web interface or command line, and it requires you to download the official firmware image file from Fortinet and upload it to the device. The FortiGate then reboots with the new operating system.
Why does this matter in a real network? Imagine a company with 200 employees. They install a FortiGate to block malicious websites and prevent hackers from stealing customer data. If the IT team leaves the default interface settings unchanged, the FortiGate might have no IP address (so it cannot send or receive any data), or it might have a default password that attackers can guess in seconds. If they never upgrade the firmware, the device may be running software with a known security flaw that lets attackers bypass the firewall entirely. The initial setup steps — configuring interfaces, locking down administrative access, and upgrading firmware — are the absolute minimum required to make the FortiGate secure and functional. The steps exist precisely because a default-out-of-the-box device is both unusable and unsafe.
Unpack and power on the FortiGate
Physically unbox the device, connect the power cable, and plug it into an electrical outlet. Wait for the power LED to turn green. This step matters because the device will not boot and cannot be configured until it has stable power.
Connect a laptop to the default LAN interface
Use an Ethernet cable to connect your laptop to the interface labelled 'port1' or 'internal' (varies by model). The FortiGate's default LAN interface has IP 192.168.1.99. Set your laptop's IP to 192.168.1.100 to be on the same subnet. This step gives you the first pathway to talk to the FortiGate before any other network exists.
Log in via HTTPS and change the default password
Open a web browser and type 'https://192.168.1.99'. Log in with username 'admin' and no password. The FortiGate will force you to create a new admin password immediately. Changing the password prevents anyone who physically or logically reaches the device from taking control using the well-known default credentials.
Configure interface IP addresses and roles
Go to Network > Interfaces. Select the interface that connects to your internet modem (e.g., port1) and configure it as a WAN interface with the IP provided by your ISP or set to DHCP. Select the interface that connects to your internal network (e.g., port2) and set its IP to a private range like 10.0.0.1. Assigning IPs gives the FortiGate its identity on each connected network and allows it to route traffic between them.
Restrict administrative access on interfaces
For each interface, go to the Administrative Access section in the interface settings. On the WAN interface, uncheck all boxes (HTTPS, SSH, ping). On the LAN interface, check HTTPS and SSH. Optionally add a trusted host IP range (e.g., your laptop's IP) to further restrict access. This step ensures that only authorised users from inside the local network can manage the device, and no one on the internet can try to break in.
Upgrade the firmware to the latest stable version
Log into the Fortinet support portal using your FortiCare account. Download the latest firmware image file (ending in .out) for your specific FortiGate model. In the FortiGate web interface, go to System > Firmware, upload the file, and click Upgrade. The device will reboot during the process. Upgrading firmware ensures the device has all security patches, bug fixes, and feature improvements released since the hardware was manufactured.
Verify the configuration and perform a backup
After the reboot, log back in and confirm the firmware version is updated under System > Dashboard. Then go to System > Config > Backup and save a copy of the current configuration to your laptop. This backup allows you to restore the exact same setup quickly if the device ever fails or needs to be replaced.
Imagine you are the first IT hire at a small company that has just bought its first FortiGate 60F model. The CEO hands you the box and says, 'Make us secure.' You take the device out, plug in the power cable, and connect port1 to the company's cable modem (the internet connection) using an Ethernet cable. You connect port2 to the office switch (the device that connects all the employee computers). This is already a critical step: you have physically designated which interface is WAN and which is LAN.
Now you need to perform the initial configuration. You turn on the FortiGate and wait for it to boot. By default, the FortiGate has a factory IP address of 192.168.1.99 on the LAN interface. You set your own laptop to a compatible IP address (for example, 192.168.1.100), connect your laptop to port2, and open a web browser to https://192.168.1.99. You log in with the default username 'admin' and no password. The first thing the FortiGate forces you to do is change that default password — a security step that prevents anyone who guesses the default credentials from taking over the device. You set a strong password.
Next, you go to the Network > Interfaces section. You configure port1 (the WAN interface): you assign it the IP address your internet service provider gave you (for example, a public IP like 203.0.113.5) or set it to obtain an IP automatically via DHCP (dynamic host configuration protocol, where a router automatically assigns an IP). You then configure port2 (the LAN interface): you assign it an IP address for the company's internal network, like 10.0.0.1, with a subnet mask of 255.255.255.0. This means every device in the office will get an IP in the range 10.0.0.2 to 10.0.0.254.
After setting the interfaces, you restrict administrative access. On the LAN interface (port2), you enable HTTPS and SSH so you and your IT colleague can manage the FortiGate from inside the office. On the WAN interface (port1), you disable all administrative access methods — no HTTPS, no SSH, no ping — because you do not want anyone on the internet to attempt to log into the FortiGate. You also create an 'administrative access control' rule that only allows management traffic from a specific trusted host, such as the laptop you use, using its IP address.
Finally, you upgrade the firmware. You check the Fortinet support site and see that the FortiGate shipped with FortiOS version 7.0.1 but the latest stable version is 7.2.5. You download the firmware image file (a file ending in .out, the standard Fortinet firmware file extension). You go to System > Firmware, upload the file, and click Upgrade. The FortiGate installs the new firmware and reboots. After the reboot, you log back in and confirm the version number has changed.
Throughout this process, you are doing what every IT professional does: you are taking a generic security appliance and tailoring it to your specific environment. The interfaces become the boundaries of your network. The administrative access settings create a locked door that only you can open. The firmware upgrade ensures the device is running the most secure and capable version of its software. Without these steps, the FortiGate would be like a guard shack at the factory gate with no guard inside, no lock on the door, and a broken radio — completely useless for security.
The NSE4 exam tests FortiGate Overview and Initial Setup in multiple-choice and multiple-select questions that check your understanding of interface roles, administrative access protocols, and firmware upgrade procedures. The exam expects you to know not just what each step is, but the exact order and the consequences of skipping a step.
Specific concepts the exam loves to test:
The default IP address of a factory-fresh FortiGate is 192.168.1.99 on the internal (LAN) interface. The exam will try to trick you by offering 192.168.1.1 or 10.0.0.1. Memorise the default.
The default administrative account is 'admin' with no password. The exam will ask what the first configuration step is after logging in for the first time — the answer is to change the admin password.
Administrative access methods: you must know which protocols are enabled by default (HTTPS, SSH, ping, but NOT Telnet, SNMP, or HTTP). The exam often lists all six and asks which are enabled out of the box.
Firmware upgrade requirements: you must have a valid Fortinet support contract to download firmware. The exam will slip in a distractor like 'download from any website' or 'use USB drive without a contract'. The correct answer always involves a valid contract or a valid FortiCare support account.
Interface configuration: you must understand that a FortiGate interface can be configured as WAN, LAN, DMZ (demilitarised zone, a separate network for public-facing servers), or VLAN (virtual LAN that splits one physical port into multiple logical networks). The exam tests which interface type is appropriate for a given scenario.
Traps to watch for: - 'A trainee configures administrative access on the WAN interface. Is this correct?' The correct answer is 'no' unless the question specifies that access is restricted to a specific trusted IP. The exam loves to test whether you know that opening WAN access is a security risk. - 'The firmware upgrade fails because the device does not have enough disk space.' This is a real issue. The exam checks if you know to free up space by deleting old firmware images or logs before upgrading. - 'Can you use Telnet for administrative access?' The correct answer is 'yes, it is supported, but it is not secure and should not be used.' The trap is that many beginners say 'no, Telnet is not supported' — but FortiGate does support it; it just strongly discourages its use.
Key definitions you must memorise for the exam:
Interface: a logical or physical network port that connects the FortiGate to a network segment.
Administrative access: the protocols and IP addresses allowed to manage the FortiGate.
Firmware: the FortiOS operating system version running on the device.
Factory default: the state the device is in when it leaves the factory, with default IP and admin credentials.
FortiCare: Fortinet's support service that provides firmware downloads and technical support.
Exam questions often present a scenario where a company receives a new FortiGate and asks what the technician should do first. The correct sequence is: unpack and power on, connect to the default LAN IP, change the admin password, configure interfaces with correct IPs, restrict administrative access to trusted IPs, then upgrade firmware. If a question asks 'What should the technician do before configuring firewall policies?', the answer is always initial setup: assign interface IPs and enable administrative access.
A factory-fresh FortiGate has a default IP address of 192.168.1.99 on its internal (LAN) interface and a default admin account with no password.
You must change the default admin password immediately after first login to prevent unauthorised access.
Each interface on a FortiGate must be manually assigned an IP address and a role (WAN, LAN, DMZ) before it can pass traffic.
Administrative access (HTTPS, SSH, ping, SNMP, Telnet) must be enabled explicitly per interface; leaving it disabled on WAN interfaces is a critical security best practice.
Firmware upgrades require a valid FortiCare support contract and are performed through the web interface or command line by uploading a .out firmware image file.
The correct initial setup sequence is: assign interface IPs, change admin password, restrict administrative access, then upgrade firmware to the latest stable version.
Telnet and HTTP are supported but insecure; never enable them on interfaces that have any external connectivity.
Always check the FortiGate firmware version against the Fortinet recommended release notes before upgrading to avoid compatibility issues.
These come up on the exam all the time. Here's how to tell them apart.
Default LAN Interface IP
Factory default is 192.168.1.99
Pre-configured for initial access
Used for first-time login by IT staff
Default WAN Interface IP
No default IP assigned
Must be configured manually
Connected to internet service provider
HTTPS
Access via web browser
Uses port 443
Graphical user interface for configuration
SSH
Access via command-line terminal
Uses port 22
Text-based interface for scripting and automation
Firmware Upgrade
Changes the operating system version
Requires FortiCare support contract
Causes a device reboot
Configuration Backup
Saves current settings as a file
Does not require any contract
Does not affect device uptime
WAN Interface
Faces the internet
Should have all admin access disabled
Uses a public or ISP-assigned IP
LAN Interface
Faces the internal network
Should allow HTTPS and SSH for IT
Uses a private IP address like 10.0.0.1
Telnet
Unencrypted protocol
Sends passwords in plain text
Not recommended for any environment
SSH
Encrypted protocol
Protects passwords and commands
Recommended for secure remote management
Mistake
Once I set the admin password, the FortiGate is secure enough to connect straight to the internet.
Correct
You must also restrict which interfaces allow administrative access and upgrade the firmware to close known vulnerabilities. A strong password alone does not protect against software bugs in older firmware.
Beginners equate password strength with overall security, not realising that the default firmware might have unpatched security holes and that leaving administrative access open on the WAN interface exposes the device to brute-force attacks.
Mistake
Interfaces on a FortiGate are pre-configured with IP addresses, so I just need to plug them in.
Correct
All interfaces come with no IP address by default except the internal (LAN) interface which has a default IP of 192.168.1.99. You must manually assign IP addresses to every interface you want to use.
This confusion comes from consumer routers, which typically assign a default IP to both WAN and LAN ports out of the box. Enterprise security appliances like FortiGate require deliberate configuration, which beginners do not expect.
Mistake
Firmware upgrades are optional. The FortiGate works fine with whatever firmware came on it.
Correct
Firmware upgrades are critical for security and stability. Fortinet releases firmware updates specifically to fix known vulnerabilities, and running outdated firmware is one of the most common reasons a firewall gets breached.
Many beginners come from a home router background where firmware updates are rare and often ignored. In enterprise security, failing to update firmware is considered negligent because the threats are actively hunting for unpatched devices.
Mistake
The FortiGate web interface automatically uses HTTPS when I type the IP address in a browser.
Correct
You must type 'https://' explicitly. Simply entering the IP address in a browser without the 'https://' prefix may attempt an insecure HTTP connection, which the FortiGate does not accept by default for security reasons.
Users are accustomed to browsers automatically redirecting to HTTPS on most modern websites. FortiGate does not enable this redirect by default, so beginners get a blank page and think the device is broken.
Mistake
I can download firmware updates for free from the Fortinet website without any account.
Correct
You must have a valid FortiCare support contract and a Fortinet support account to download firmware. The firmware images are not publicly accessible.
This stems from the expectation that operating system updates for consumer devices (like Windows or smartphone OS) are freely downloadable. Fortinet restricts firmware downloads to customers under active support contracts to ensure only authorised users install updates.
Mistake
All administrative access methods are equally secure, so it does not matter which ones I enable.
Correct
HTTPS and SSH are encrypted and secure. Telnet and HTTP are unencrypted and send passwords in plain text. You should only enable encrypted methods, and only on interfaces that are not exposed to the internet.
Beginners often think 'if it is an option in the menu, it must be safe to use'. They do not understand the distinction between encrypted and unencrypted protocols, or the risk of exposing management interfaces to the public internet.
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
The default IP address on the internal (LAN) interface is 192.168.1.99. The default username is 'admin' and there is no default password.
Connect your laptop to the LAN interface with an Ethernet cable, set your laptop's IP to 192.168.1.100, open a browser, and type 'https://192.168.1.99'. Log in as 'admin' with no password.
Yes, you need a Fortinet support account tied to an active FortiCare contract for your specific FortiGate serial number to download firmware updates.
The WAN interface connects to the internet (your ISP modem), and the LAN interface connects to your internal network (office computers and switches). You must assign appropriate IP addresses and restrict administrative access differently on each.
Yes, Telnet is supported, but it sends all data including passwords in plain text. Fortinet strongly recommends using SSH or HTTPS instead because they encrypt the connection.
You risk running software with known security vulnerabilities that attackers can exploit. Additionally, you may miss important feature improvements and bug fixes that affect performance and stability.
You can reset by holding the reset button on the device while it powers on, or by running the command 'execute factoryreset' in the command-line interface. This clears all configuration and returns it to the default IP and admin credentials.
You've finished FortiGate Overview and Initial Setup. Continue through the NSE4 study guide to build a complete picture of the exam.
Done with this chapter?