FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
iskandar_lie
Staff
Staff
Article Id 226238
Description This article describes how to fix CLI console from FortiGate GUI.
Scope

FortiGate v. 7.2.1.

 

Problem Description:

  1. GUI is accessible without a problem.
  2. SSH is accessible via the terminal.
  3. When CLI is opened from GUI.
Solution

This error message appears: 

'Connection lost. Press Enter to start a new session'.

 

iskandar_lie_0-1665431261827.png

 

Access CLI via SSH:

  1. Change 'admin-sport', in this case, 443 --> 4433:

 

iskandar_lie_1-1665431296696.png

 

Now, it is possible to close the GUI and try to re-login:

https:// < fortigate ip management>:4433

 

iskandar_lie_2-1665431326471.png

 

  1. To stay on the preferable port number, in this case, 443:

    • Revert back to the changes done before on step 1.
    • Change SSL-VPN port number ( 443 --> 4433 ).

     

    iskandar_lie_3-1665431386987.png

     

    Clear the browsing history of the browser, and restart it.

    It should work fine. If not, try another browser.

     

    If the above methods do not work, contact Fortinet TAC for further assistance.

     

Related documents:

Technical Tip: How to open the CLI window in GUI

Connecting to the CLI