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.
Rajneesh
Staff
Staff
Article Id 327362
Description This article describes why there is a web connection for an SSL VPN user even though only tunnel mode is allowed.
Scope FortiGate.
Solution

The SSL VPN monitor shows users with active web connections even though the SSL VPN portal only allows for tunnel mode (aka FortiClient) connections.:

 

Image-5.jpeg

 

The above screenshot shows that the user belongs to the ’SAML’ user group and the below screenshot shows that the user group 'SAML' has been mapped to the ‘tunnel-access’ portal.


Image-2 authentication and portal mapping.jpeg
As shown in the following screenshot, the tunnel-access SSL VPN portal has Web Mode toggled off:

 

Screenshot 2024-07-23 151256.jpg

 

The SSL VPN monitor shows an active web connection because the user is able to access and authenticate against the web portal. However, after a successful authentication, the portal displays the below warning:

'The SSL-VPN portal has been enabled for tunnel mode use only. FortiClient is required to connect.'

 

Image-3 showing the message on web mode that this is tunnel mode only.jpeg

 

Even with web mode disabled in the SSL VPN portal settings, the above landing page is still available after a user authenticates successfully. This is expected behavior, though it is possible to disable SSL VPN web mode entirely in the global settings.

 

The complete functionality of SSL VPN web mode can be disabled in global mode with the following command:

 

config system global

set sslvpn-web-mode disable

end