What a FortiGate is and what it does
This lesson is open to everyone. The other lessons open with a package: sign in or sign up, then choose a package.
Key points
- A FortiGate is a next-generation firewall (NGFW): it looks not only at IP and port but also at the application, the user and the content of the traffic.
- The operating system of the device is FortiOS. The same FortiOS runs on a physical model and on a virtual machine (FortiGate-VM).
- FortiGuard is a subscription service: it updates antivirus, IPS, web filter and application signatures. If the licence expires the firewall keeps working, but the signatures go stale.
- The default operation mode is NAT mode: the FortiGate works like a router and every port has its own IP. In transparent mode it works like a bridge.
- On a FortiGate everything that is not allowed is closed: with no policy, traffic does not pass (implicit deny).
What is a firewall for?
From networking basics you know that a router forwards a packet from one network to another. For a router the main question is: "where should this packet go?"
A firewall adds one more question: "may this packet pass?" It sits between the office network and the internet and decides by looking at rules (policies).
Old firewalls looked only at the IP address and the port. The trouble is that today almost everything uses port 443: a banking site, a video, and a malicious file too. That is why a next-generation firewall (NGFW) looks deeper:
| What it looks at | Example |
|---|---|
| IP and port | Network 10.10.10.0/24 may go out to port 443 |
| Application | Video calls are allowed, torrents are forbidden |
| User | The accounting group may open the banking site |
| Content | Is there a virus in the downloaded file, what category is the site |
A FortiGate is exactly this kind of device.
What is the device made of?
- FortiOS: the operating system. All settings, the GUI and the CLI belong to it. This course is based on FortiOS 7.4 and 7.6.
- Special processors (SPU): Fortinet builds its own chips. The NP (network processor) forwards packets fast, the CP (content processor) helps with encryption and content inspection. On small models these are combined in one chip (SoC).
- FortiGuard: Fortinet's cloud service. It sends the device information about new viruses, attacks and site categories.
Models
The number in the model name shows the power, the letter shows the generation (E, F, G; G is newer).
| Group | Example | Where |
|---|---|---|
| Small (desktop) | 40F, 60F, 70G, 90G | Small office, branch |
| Mid-range | 100F, 200F, 400F, 600F | Medium and large office |
| High-end | 1000F and above | Data centre, provider |
| Virtual | FortiGate-VM | Cloud, virtual environment, lab |
The commands are the same on every model. The difference is mostly in the number and names of ports: one model has port1, port2, another has wan1, internal1, dmz.
What does the licence change?
A FortiGate without a licence still does firewalling, routing, NAT and VPN. But the security profiles cannot receive new signatures: antivirus does not know yesterday's virus, and the web filter cannot ask for a site's category.
- FortiCare: technical support and firmware updates.
- FortiGuard bundles: antivirus, IPS, web filter, application control and other services. Bundles are sold in several tiers.
Two operation modes
- NAT mode (default): the FortiGate works as a layer 3 device. Each port has an IP and packets are forwarded according to the routing table. We always use this mode in this course.
- Transparent mode: the FortiGate works as a layer 2 bridge and its ports have no IP. It is used when you need to insert a firewall without changing the IP plan of an existing network.
What happens to a packet inside the FortiGate?
- The packet enters a port.
- The FortiGate looks at the routing table and finds the egress port.
- It searches for a firewall policy that matches the ingress and egress port, source, destination and service.
- If no policy is found, the packet is dropped. This is called implicit deny.
- If there is a policy and security profiles are attached to it, the content is inspected.
- NAT is applied if needed and the packet leaves through the egress port.
Remember this sequence: each of the following lessons opens up one of its steps.
Getting to know the device
FGT-HQ # get system status Version: FortiGate-100F v7.4.x,buildNNNN (GA) Serial-Number: FG100FTK00000000 Hostname: FGT-HQ Operation Mode: NAT Current virtual domain: root Virtual domain configuration: disable System time: Mon Nov 23 10:15:42 2026
From this output you learn the model, the FortiOS version, the serial number, the device name and the operation mode. It is usually the first command typed on a new device. (The real output is longer; only the main lines are shown here.)
🧪 Hands-on lab · Device: FortiGate-VM
Know the device: get and show
You are connected to a FortiGate. There is no enable here; commands work straight away. Look at the device with three commands: get system status (model, version, name), get system interface physical (ports and IPs), show system interface (interface configuration).
Checked:
- get system status
- get system interface physical
- show system interface
Check yourself
5 questions · answers are shown instantly · 3 correct answers complete the lesson
1How does a next-generation firewall differ from an old firewall?
2What is the operating system of a FortiGate called?
3The FortiGuard licence has expired. What happens?
4How does a FortiGate work in the default NAT mode?
5No firewall policy matches a packet. What does the FortiGate do?
Comments
Sign in to comment.