- Zen IT Technologies
- Technical notes
- The FortiGate patched itself. Remote access went with it.
The FortiGate patched itself. Remote access went with it.
Jonny Flaks, Founder & Principal Architect
Technical note in Network & Infrastructure
The firewall is online. The office has internet. Remote staff can no longer connect. The change calendar is empty because nobody booked the firmware upgrade. The firewall already had a schedule of its own.
A patch can retire a service
FortiOS 7.6.3 is a good example to put in front of anyone who approves firewall changes. Fortinet removed SSL VPN tunnel mode across FortiGate models. Existing tunnel settings do not migrate on upgrade. The replacement is IPsec, which can also use TCP port 443. A familiar port still leaves the team with a client configuration and a migration to test.
In the 7.6 branch, Fortinet enabled automatic firmware upgrades by default across models from 7.6.1. The configured policy on the appliance tells you what will happen in your environment. The release notes tell you what the next version may take away.
| Path | First | Then | Outcome |
|---|---|---|---|
| Upgrade first | SSL VPN in use | Install 7.6.3 | Tunnel unavailable |
| Migrate first | Pilot IPsec | Verify remote access | Upgrade and retest |
Moving remote access to IPsec is its own project
Fortinet publishes a guide for moving SSL VPN tunnel mode configurations to IPsec, and the settings do not carry over on their own. Each user's client needs a new connection profile. The sign-in path needs testing again, including whatever second factor or single sign-on sits in front of it. Hotel and guest networks that block most ports are the reason the TCP 443 option exists, so test from one of those as well as from home.
Run the pilot with a handful of people on different laptops and operating systems, and keep the existing tunnel for everyone else until the pilot is boring. Then upgrade.
Turning it off is the wrong lesson
After a morning like that, the tempting fix is to disable automatic upgrades everywhere. For most offices that trades one problem for a bigger one. Internet-facing firewalls are among the most targeted devices a company owns, and a small team without a network engineer is better served by a firewall that patches itself than by one that waits for somebody to remember.
FortiOS gives you enough control to keep the benefit. Automatic upgrades only move to a newer patch within the current minor version, so a 7.6 unit stays on 7.6. The firewall waits a set number of days after it detects a new patch, three by default, then installs at a random time inside a start and end hour you choose. If you would rather name the day yourself, set the delay to zero and list the days of the week it may use. Pick a slot when someone will be working the next morning and can tell a quiet office from a broken tunnel.
The other workable answer is to switch automatic upgrades off and run patch upgrades yourself on a fixed cadence, with a short deadline for critical fixes. That only counts if the cadence actually happens. Otherwise you have stopped patching and called it control.
Put the dependency in the change calendar
For a firewall that provides remote access, I want the change record to name someone who can sign in from outside the office after the upgrade. Give that person a managed laptop, a normal user account and an internal service to reach. A green status light on the firewall answers a different question.
Before the window, list the handful of functions the office depends on. Check them against the target release, confirm a usable configuration backup and agree how an administrator can reach the appliance if the usual management path disappears. Keep a deadline for critical fixes. Moving the upgrade into a maintenance window only helps if someone owns that window.
Read the notes for the release you didn't choose
People read "patch release" as "bug fixes." Vendors also use maintenance releases to change defaults, retire features and drop functions on models with limited memory. Fortinet's release notes carry these changes in sections such as special notices and changes in default behavior, and the 7.6.3 change was spelled out in that release's notes.
Nobody reads release notes for an upgrade they did not schedule. Keep the list of functions from your change record short enough to check against every patch in your branch: the remote-access mode, the authentication method, any SD-WAN or routing features in use, and whatever legacy protocol something in the office still needs.
Rehearse the way back
Fortinet's support articles describe how to boot back into the previous firmware after an automatic upgrade removed SSL VPN. Read that procedure before you need it, and walk through it once on a spare or lab unit. A downgrade goes more cleanly with a configuration backup taken on the version you are returning to, so keep one from before each upgrade, somewhere other than the firewall.
Then decide who does it at seven in the morning. The person named in the change record can tell you remote access is broken. Someone else needs console access and the authority to roll back.
The check worth running
Open the upgrade policy on one production firewall. Find the release it is eligible to install and the next permitted window. Now find the name of the person who will test a remote login afterwards. If the first two answers are on the appliance and the third is missing, you know what to fix.
Product note. Product features change frequently, so always check current features and documentation before acting on this note. It is a starting point rather than a configuration reference.
Explore this expertise: Network & Infrastructure