Interface settings
Administrators can configure both physical and virtual FortiGate interfaces in Network > Interfaces. There are different options for configuring interfaces when FortiGate is in NAT mode or transparent mode.
The available options will vary depending on feature visibility, licensing, device model, and other factors. The following list is not comprehensive.
To configure an interface in the GUI:
- Go to Network > Interfaces.
- Click Create New > Interface.
- Configure the interface fields:
Interface Name
Physical interface names cannot be changed.
Alias
Enter an alternate name for a physical interface on the FortiGate unit. This field appears when you edit an existing physical interface. The alias does not appear in logs.
The maximum length of the alias is 25 characters.
Type
The configuration type for the interface, such as VLAN, Software Switch. 802.3ad Aggregate, and others.
Interface
This field is available when Type is set to VLAN.
Select the name of the physical interface that you want to add a VLAN interface to. Once created, the VLAN interface is listed below its physical interface in the Interface list.
You cannot change the physical interface of a VLAN interface.
VLAN ID
This field is available when Type is set to VLAN.
Enter the VLAN ID. The VLAN ID can be any number between 1 and 4094 and must match the VLAN ID added by the IEEE 802.1Q-compliant router or switch that is connected to the VLAN subinterface.
The VLAN ID can be edited after the interface is added.
VRF ID
Virtual Routing and Forwarding (VRF) allows multiple routing table instances to coexist on the same router. One or more interface can have a VRF, and packets are only forwarded between interfaces with the dame VRF.
Virtual Domain
Select the virtual domain to add the interface to.
Only administrator accounts with the super_admin profile can change the Virtual Domain.
Interface Members
This section can have different formats depending on the Type.
Members can be selected for some interface types:
Software Switch or Hardware Switch: Specify the physical and wireless interfaces joined into the switch.
802.3ad Aggregate or Redundant Interface: This field includes the available and selected interface lists.
Role Set the role setting for the interface. Different settings will be shown or hidden when editing an interface depending on the role:
- LAN: Used to connected to a local network of endpoints. It is default role for new interfaces.
- WAN: Used to connected to the internet. When WAN is selected, the Estimated bandwidth setting is available, and the following settings are not: DHCP server, Create address object matching subnet, Device detection, Security mode, One-arm sniffer, Dedicate to extension/fortiap modes, and Admission Control.and will show Estimated Bandwidth settings.
- DMZ: Used to connected to the DMZ. When selected, DHCP server and Security mode are not available.
- Undefined: The interface has no specific role. When selected, Create address object matching subnet is not available.
Estimated bandwidth
The estimated WAN bandwidth.
The values can be entered manually, or saved from a speed test executed on the interface. The values can be used in SD-WAN rules that use the Maximize Bandwidth or Best Quality strategy.
Traffic mode
This option is only available when Type is WiFi SSD.
Tunnel: Tunnel to wireless controller
Bridge: Local bridge with FortiAP's interface
Mesh: Mesh downlink
Address
Addressing mode
Select the addressing mode for the interface.
- Manual: Add an IP address and netmask for the interface. If IPv6 configuration is enabled, you can add both an IPv4 and an IPv6 address.
- DHCP: Get the interface IP address and other network settings from a DHCP server.
- Auto-managed by FortiIPAM: Assign subnets to prevent duplicate IP addresses from overlapping within the same Security Fabric. See Assign a subnet with the FortiIPAM service.
- PPPoE: Get the interface IP address and other network settings from a PPPoE server. This option is only available on the low-end FortiGate models.
- One-Arm Sniffer: Set the interface as a sniffer port so it can be used to detect attacks. See One-arm sniffer.
IP/Netmask
If Addressing Mode is set to Manual, enter an IPv4 address and subnet mask for the interface. FortiGate interfaces cannot have multiple IP addresses on the same subnet.
IPv6 addressing mode
Select the addressing mode for the interface:
- Manual: Add an IP address and netmask for the interface.
- DHCP: Get the interface IP address and other network settings from a DHCP server.
- Delegated: Select an IPv6 upstream interface that has DHCPv6 prefix delegation enabled, and enter an IPv6 subnet if needed. The interface will get the IPv6 prefix from the upstream DHCPv6 server that is connected to the IPv6 upstream interface, and form the IPv6 address with the subnet configured on the interface.
IPv6 Address/Prefix
If Addressing Mode is set to Manual and IPv6 support is enabled, enter an IPv6 address and subnet mask for the interface. A single interface can have an IPv4 address, IPv6 address, or both.
Auto configure IPv6 address
Automatically configure an IPv6 address using Stateless Address Auto-configuration (SLAAC).
This option is available when IPv6 addressing mode is set to Manual.
DHCPv6 prefix delegation
Enable/disable DHCPv6 prefix delegation, which can be used to delegate IPv6 prefixes from an upstream DHCPv6 server to another interface or downstream device.
When enabled, there is an option to enable a DHCPv6 prefix hint that helps the DHCPv6 server provide the desired prefix.
Create address object matching subnet
This option is available when Role is set to LAN or DMZ.
Enable this option to automatically create an address object that matches the interface subnet.
Secondary IP Address
Add additional IPv4 addresses to this interface.
Administrative Access
IPv4 Administrative Access
Select the types of administrative access permitted for IPv4 connections to this interface. See Configure administrative access to interfaces.
IPv6 Administrative Access
Select the types of administrative access permitted for IPv6 connections to this interface. See Configure administrative access to interfaces.
DHCP Server
Enable a DHCP server for the interface. See DHCP server.
Stateless Address Auto-configuration (SLAAC)
Enable to provide IPv6 addresses to connected devices using SLAAC.
DHCPv6 Server
Select to enable a DHCPv6 server for the interface.
When enabled, you can configure DNS service settings: Delegated (delegate the DNS received from the upstream server), Same as System DNS, or Specify (up to four servers).
You can also enable Stateful serverto configure the DHCPv6 server to be stateful. Manually enter the IP range, or use Delegated mode to delegate IP prefixes from an upstream DHCPv6 server connected to the upstream interface.
Network
Device Detection Enable/disable passively gathering device identity information about the devices on the network that are connected to this interface. Security Mode Enable/disable captive portal authentication for this interface. After enabling captive portal authentication, you can configure the authentication portal, user and group access, custom portal messages, exempt sources and destinations/services, and redirect after captive portal.
Traffic Shaping
Outbound shaping profile Enable/disable traffic shaping on the interface. This allows you to enforce bandwidth limits on individual interfaces. See Interface-based traffic shaping profile for more information. Miscellaneous
Comments
Enter a description of the interface of up to 255 characters.
Status
Enable/disable the interface.
- Enabled: The interface is active and can accept network traffic.
- Disabled: The interface is not active and cannot accept traffic.
- Click OK.
To configure an interface in the CLI:
config system interface edit <name> set vdom <VDOM_name> set mode {static | dhcp | pppoe} set ip <IP_address/netmask> set security-mode {none | captive-portal | 802.1X} set egress-shaping-profile <profile> set device-identification {enable | disable} set allowaccess {ping https ssh http snmp telnet fgfm radius-acct probe-response fabric ftm} set secondary-IP enable config secondaryip edit 1 set ip 9.1.1.2 255.255.255.0 set allowaccess ping https ssh snmp http next end next end
Configure administrative access to interfaces
You can configure the protocols that administrators can use to access interfaces on the FortiGate. This helps secure access to the FortiGate by restricting access to a limited number of protocols. It helps prevent users from accessing interfaces that you don't want them to access, such as public-facing ports.
As a best practice, you should configure administrative access when you're setting the IP address for a port.
To configure administrative access to interfaces in the GUI:
- Go to Network > Interfaces.
- Create or edit an interface.
- In the Administrative Access section, select which protocols to enable for IPv4 and IPv6 Administrative Access.
HTTPS
Allow secure HTTPS connections to the FortiGate GUI through this interface. If configured, this option is enabled automatically.
HTTP
Allow HTTP connections to the FortiGate GUI through this interface. This option can only be enabled if HTTPS is already enabled.
PING
The interface responds to pings. Use this setting to verify your installation and for testing.
FMG-Access
Allow FortiManager authorization automatically during the communication exchanges between FortiManager and FortiGate devices.
SSH
Allow SSH connections to the CLI through this interface.
SNMP
Allow a remote SNMP manager to request SNMP information by connecting to this interface.
FTM
Allow FortiToken Mobile Push (FTM) access.
RADIUS Accounting
Allow RADIUS accounting information on this interface.
Security Fabric Connection
Allow Security Fabric access. This enables FortiTelemetry and CAPWAP.