Created on
12-27-2022
09:27 PM
Edited on
06-01-2025
11:49 PM
By
Anthony_E
| Description | This article describes how to find out the root cause of the GUI access issue and provides solutions. |
| Scope | FortiGate. |
| Solution |
Assumptions: GUI is supposed to be accessible using https://10.109.16.74 where the IP 10.109.16.74 is IP of wan1 interface:
config system interface
And also the default route 0.0.0.0/0 is via the wan1 interface:
FGT # get router info routing-table all Routing table for VRF=0
- Use the following flow debugging commands to capture the flow of the traffic:
FGT # diagnose debug flow filter clear
Here is an example log for ping:
SSLVPN-server # id=65308 trace_id=25 func=print_pkt_detail line=5899 msg="vd-root:0 received a packet(proto=1, 10.109.16.186:4864->10.109.16.74:2048) tun_id=0.0.0.0 from wan1. type=8, code=0, id=4864, seq=0."
As per the above logs, the traffic is matching VIP, and traffic is blocked due to the error message 'Denied by forward policy check (policy 0)'.
The error message 'Denied by forward policy check (policy 0)' is seen when there is no firewall policy to allow the traffic but the GUI access from the internet does not need a firewall policy, also, the GUI access from the internet should not hit the VIP.
If there is a configured VIP on the FortiGate using IP address of the GUI (10.109.16.74 in the above example) and standard destination port number 443, 80 or 22 and the VIP has been enabled on firewall policy, the traffic is destinated to the IP address of the GUI with standard destination port (443, 80 and 22) will hit the VIP:
config firewall vip
config firewall policy
Solutions:
Enable port forwarding in VIP with a specific port number that the VIP is created for. For example, the below VIP will not affect the GUI access via DST ports 443 or 80, or 22:
config firewall vip
Use a different non-standard port number for GUI/SSH access under system settings in case the VIP is used to access the internal servers via standard ports 443, 80, or 22:
config system global |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.