Skip to main content
nathan_h
Staff & Editor
Staff & Editor
July 14, 2022

Technical Tip: How to access FortiGate GUI using IPv6 address in a web browser

  • July 14, 2022
  • 0 replies
  • 1703 views
Description This article describes how to access the FortiGate GUI using an IPv6 address in a web browser.
Scope FortiGate, IPv6.
Solution

Before starting: a factory-reset/fresh FortiGate will have a default IPv4 address of 192.168.1.99/24 assigned to a management port or the internal/LAN interfaces that can be used for admin access, but there is typically no IPv6 address assigned by default. When performing first-time setup, it is recommended to either use IPv4 (via HTTPS or SSH) or a serial-console connection as a means of configuring the FortiGate for IPv6, then further configuration can be done via IPv6.

 

If IPv6 has not yet been setup on FortiGate then use the following documentation to enable IPv6 in the Web GUI and configure an interface with an IPv6 address: IPv6 Quick Start. For guidance regarding basic connectivity testing between the FortiGate and a link-local IPv6 client, refer to the following KB article: Technical Tip: How to verify IPv6 link-local address (LLA) connectivity from the FortiGate to a local host.

 

Once the FortiGate and the client are configured with IPv6 addresses and the FortiGate has HTTPS admin access enabled for IPv6, it will be possible to reach the FortiGate using a web browser. Notably, RFC 3986 Section 3.2.2 mandates that IPv6-based URIs must wrap the IPv6 address in square brackets ('[' and ']'), whereas IPv4 addresses have been allowed to be entered as-is in dotted-decimal form.

 

The following are examples of how to enter IPv6 addresses in the browser to access the FortiGate web GUI:

  • General Format: https://[<FortiGate_IPv6_Address>]:<port>
  • Link-Local Example: https://[fe80::209:fff:fe09:b507]
    • In some cases it may be necessary to add an IPv6 scope ID to the end of the URL, depending on the client operating system and the web browser. Note that this is not a FortiGate-specific issue and is a general limitation when using IPv6 link-local addresses.
    • The scope ID is set differently for each client operating system. If required, append '%25<scope_id>' to the end of the IPv6 address but within the square brackets, like so: https://[fe80::1%25eth0]
  • Global Address Example with alternate port: https://[2001:db8:abcd:1::1]:8443

 

If the connection is successful then the FortiGate login will be displayed. Note that it can be expected to see a TLS certificate warning since the IPv6 address is likely not included as a Subject Alternative Name entry.

 

IPv6_Web_GUI.PNG.jpg

 

Note: To check the IPv6 addresses currently assigned to the FortiGate, use the command diagnose ipv6 address list:

 

FortiGate # diagnose ipv6 address list
dev=12 devname=internal flag=P scope=0 prefix=64 addr=2001:db8:abcd:1::1 preferred=4294967295 valid=4294967295 cstamp=7774 tstamp=7774
dev=12 devname=internal flag=NP scope=253 prefix=64 addr=fe80::209:fff:fe09:b507 preferred=4294967295 valid=4294967295 cstamp=8337 tstamp=8337

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!