1.1 Initial Configuration, GUI/CLI Management & Admin Profiles

Key Takeaways

  • FortiGate factory default settings assign IP 192.168.1.99/24 to port1 (or MGMT interface) with default username admin, an empty password, and HTTPS/SSH management access enabled.
  • Administrative access protocols must be explicitly enabled per interface using the CLI command set allowaccess ping https ssh http telnet fortitelemetry.
  • The super_admin administrator profile possesses full read-write privileges across all Virtual Domains (VDOMs) and global settings, and its access permissions cannot be modified or restricted.
  • Configuring Trusted Hosts on an administrator account restricts login attempts to specified IPv4/IPv6 subnets, dropping unauthorized management packets at the network layer.
  • FortiOS administrative sessions automatically time out after a default idle period of 15 minutes, which can be modified under config system global using set admintimeout.
Last updated: July 2026

Initial Configuration, GUI/CLI Management & Admin Profiles

Deploying a FortiGate Security Processing Unit (SPU) into a enterprise production architecture requires establishing secure administrative channels, configuring interface management parameters, hardening global system settings, and defining Role-Based Access Control (RBAC) administrator profiles. FortiOS 7.6 provides granular administrative controls through both the Graphical User Interface (GUI) and the Command Line Interface (CLI).


Factory Default Settings & Out-of-Band Provisioning

When a FortiGate physical appliance or virtual machine (FortiGate-VM) is powered on for the first time or subjected to a factory reset (execute factoryreset), FortiOS initializes with a standardized base configuration designed for out-of-band management access.

Core Factory Defaults

SettingDefault ValueDescription / Operational Impact
Management Interfaceport1 or MGMTDedicated physical interface assigned for initial network provisioning.
Default IP / Subnet192.168.1.99/24 (255.255.255.0)Static IPv4 management address assigned to the management interface.
Administrative UseradminDefault super-administrator account name.
Default Password(Empty / Blank)Requires immediate mandatory password creation upon initial GUI or CLI login.
Allowed Access ProtocolsHTTPS, SSH, PINGManagement services enabled on port1/MGMT by default.
DHCP ServerEnabled on port1Lease pool 192.168.1.110192.168.1.210 for automatic client setup.

During initial provisioning, connecting a administrator workstation to port1 via Ethernet triggers DHCP assignment. Accessing https://192.168.1.99 in a web browser presents the FortiOS GUI login prompt, forcing the administrator to change the blank default password before accessing the dashboard.


Interface Management Protocols & Allowed Access

FortiOS strictly controls administrative access at the network interface layer. By default, non-management interfaces have all administrative access protocols disabled. To configure administrative protocols on a specific physical or logical interface, administrators must define the allowaccess parameter.

Supported Interface Administrative Protocols

  • HTTPS (Port 443): Encrypted web GUI access utilizing TLS 1.2/1.3.
  • HTTP (Port 80): Unencrypted web GUI access (disabled by default; strongly discouraged in production).
  • SSH (Port 22): Secure Shell CLI access for interactive terminal sessions.
  • TELNET (Port 23): Unencrypted CLI access (disabled by default).
  • PING: Internet Control Message Protocol (ICMP) echo response for reachability testing.
  • FMG-Access (Port 541): FortiManager central management communication channel.
  • FortiTelemetry (Port 8013): Security Fabric telemetry and inter-device fabric communications.
  • RADIUS-Single-Sign-On (RSSO): Listens for RADIUS accounting packets.

Configuring Interface Allowed Access via CLI

config system interface
    edit "port1"
        set vdom "root"
        set ip 10.0.1.99 255.255.255.0
        set allowaccess ping https ssh fortitelemetry fmg-access
        set type physical
        set description "Out-of-Band Management Network"
    next
end

[!WARNING] Disabling https or ssh on the interface currently used for administrative connection will instantly terminate your active CLI or GUI session. Always ensure an alternative physical interface or console port connection is accessible when modifying interface allowaccess parameters.


Global System Hardening & Management Port Customization

To mitigate automated brute-force attacks and port scanning, security best practices dictate changing default administrative service listening ports, enforcing aggressive session timeouts, and customizing system identification banners under config system global.

config system global
    set hostname "FGT-HQ-CORE-01"
    set admintimeout 15
    set admin-sport 8443
    set admin-ssh-port 2222
    set admin-lockout-threshold 3
    set admin-lockout-duration 600
    set admin-scp enable
    set gui-theme mariner
end

Key Global Management Settings

  • admintimeout: Controls the maximum idle duration (in minutes) before an inactive GUI or CLI administrative session is automatically terminated (range: 1–480 minutes; default: 15 minutes).
  • admin-sport: Changes the custom listening TCP port for HTTPS GUI access (e.g., port 8443).
  • admin-ssh-port: Changes the custom listening TCP port for SSH CLI access (e.g., port 2222).
  • admin-lockout-threshold: Defines the number of consecutive failed login attempts before locking out an administrative account (default: 3).
  • admin-lockout-duration: Specifies the duration in seconds that an administrative account remains locked out following threshold breach (default: 60 seconds).

Administrator Profiles & Role-Based Access Control (RBAC)

FortiOS implements Role-Based Access Control (RBAC) by separating administrator identity from access permissions. An administrator account is bound to an Admin Profile, which dictates granular Read, Read-Write, or No Access permissions across specific system features.

Predefined Administrator Profiles

Profile NameScopeModification PrivilegeOperational Characteristics
super_adminSystem-Wide (All VDOMs)Immutable (Cannot be modified/deleted)Full read-write privileges across all global settings, system configurations, and VDOMs. Required for hardware firmware upgrades and system-wide VDOM creation.
prof_adminSingle VDOM / GlobalEditableStandard administrative profile granting full read-write permissions within the administrator's assigned VDOM.
super_readerSystem-Wide (All VDOMs)ImmutableRead-only administrative access across all system settings, security policies, diagnostic outputs, and VDOM configurations.

Custom Administrator Profile Granularity

Custom administrator profiles can be created under config system accprofile to enforce the Principle of Least Privilege (PoLP). Permissions are segmented into broad categories:

  1. System: Administrative users, interface settings, maintenance, HA, and network routing.
  2. Firewall: Security policies, address objects, service objects, NAT rules, and schedules.
  3. Security Profiles: Antivirus, IPS, Web Filter, Application Control, and SSL Inspection profiles.
  4. Log & Report: Log settings, diagnostic tools, report generation, and log viewing.
  5. VPN: IPsec VPN, SSL VPN settings, and portal configurations.
config system accprofile
    edit "SOC-Tier1-Operator"
        set secprofrgrp read
        set fwgrp read
        set loggrp read-write
        set sysgrp read
        set utmgrp read
    next
end

Administrator Account Hardening: Trusted Hosts & 2FA

Administrative accounts can be hardened against credential theft and unauthorized remote access by enforcing Trusted Hosts and Two-Factor Authentication (2FA).

Trusted Hosts Architecture

Trusted Hosts restrict administrative login attempts for a specific account to a maximum of 10 IPv4 or IPv6 subnets/addresses. When Trusted Hosts are defined on an admin user, FortiOS evaluates the source IP address of incoming TCP/IP connection requests before initiating password verification or TLS handshakes.

config system admin
    edit "secops_admin"
        set remote-auth disable
        set accprofile "SOC-Tier1-Operator"
        set vdom "root"
        set trusthost1 10.10.50.0 255.255.255.0
        set trusthost2 192.168.100.25 255.255.255.255
        set password ENC string_hash_blob
    next
end

[!IMPORTANT] If an administrator configures Trusted Hosts on their user account and attempts to log in from an unlisted IP address, FortiOS silently drops the connection request without displaying a login prompt. If all 10 trusted host slots are left at 0.0.0.0 0.0.0.0, connections are accepted from any IP address.

Multi-Factor Authentication Integration

FortiOS supports native 2FA using FortiToken (Physical hardware tokens or FortiToken Mobile push notifications), Email tokens, SMS tokens, and RADIUS/SAML external Identity Providers (IdP).

config system admin
    edit "secops_admin"
        set two-factor fortitoken
        set fortitoken "FTK200123456789"
        set email-to "secops@enterprise.com"
    next
end

Configuration Revision Control, Backup & Restoration

Maintaining verified configuration backups is critical for disaster recovery and change compliance. FortiOS supports manual configuration backups, scheduled backups, and automated revision tracking via an internal revision database.

Configuration Backup CLI Syntax

# Backup configuration file to an external TFTP server
execute backup config tftp FGT-HQ-CORE-01_20260730.conf 10.10.10.50

# Backup configuration with encryption password to local USB media
execute backup config usb FGT-HQ-CORE-01_20260730.conf EncryptedPass123!

Configuration Restore CLI Syntax

# Restore configuration from TFTP server (Triggers automatic system reboot)
execute restore config tftp FGT-HQ-CORE-01_20260730.conf 10.10.10.50

Administrative Protocol Security & Port Reference

The following table outlines the security status and default port configurations for management protocols:

Management ProtocolDefault PortProtocol Security LevelRecommended Production StatusCLI Allowaccess Token
HTTPS443High (TLS 1.2/1.3 Encrypted)Enabled (Custom Port Recommended)https
HTTP80None (Cleartext)Strictly Disabledhttp
SSH22High (Encrypted Shell)Enabled (Custom Port Recommended)ssh
TELNET23None (Cleartext)Strictly Disabledtelnet
PINGN/A (ICMP)Low (Info Disclosure)Restricted to Internal/Managementping
FMG-Access541High (SSL/TLS Tunnel)Enabled on FortiManager Linksfmg-access
FortiTelemetry8013High (Authenticated TLS)Enabled on Fabric Member Interfacesfortitelemetry
Loading diagram...
Administrative Connection Evaluation & Security Logic
Test Your Knowledge

What are the default management IP address, username, and active access protocols on port1 of a newly unboxed FortiGate appliance?

A
B
C
D
Test Your Knowledge

An administrator configures Trusted Hosts on a FortiGate admin account but enters an incorrect subnet mask for trusthost1. What is the operational impact on connection requests originating outside the configured trusted subnet?

A
B
C
D
Test Your Knowledge

Which statement accurately describes the operational privileges and capabilities of the built-in super_admin profile?

A
B
C
D