Created on
08-27-2024
08:52 AM
Edited on
04-17-2025
11:02 PM
By
Jean-Philippe_P
| Description |
This article describes how to allow SSL VPN when the FortiGate is operating in Policy-based mode. By default, SSL VPN connections will not be allowed. |
| Scope |
FortiGate, FortiClient. |
| Solution |
When configuring SSL VPN on policy-based NGFW mode,
If no relevant SSL Inspection & Authentication policy is configured, SSL VPN daemons will not run. No 'sslvpnd' processes show. FGT # diagnose sys process pidof sslvpnd FGT # diagnose sys process pidof sslvpnd FGT # diagnose sys process pidof sslvpnd FGT # diagnose sys process pidof sslvpnd FGT # fnsysctl killall sslvpnd FGT #
diagnose debug application sslvpn -1 <no output>
However, the sniffer shows incoming packets:
The debug flow output shows 'msg="iprope_in_check() check failed on policy 0, drop"':
config firewall policy edit <index> set name "Allow_SSL-VPN" next end
After this change, the FortiGate will start to process incoming SSL VPN traffic. Diagnostic commands also show one or more running sslvpnd processes:
FGT # diagnose sys process pidof sslvpnd FGT #
If sslvpnd debugs during a connection attempt with a local test user shows 'got user (0) group (0:0)' and the attempt fails with 'sslvpn_login_unknown_user', ensure the user is included in a group configured on the SSL Inspection & Authentication policy.
diagnose debug application sslvpn -1 <additional output> [4998:root:99]fsv_logincheck_common_handler:1450 user 'jsmorth' has a matched local entry. Ensure the user is included in the user group configured in SSL VPN settings and on the relevant SSL Inspection & Authentication Policy. config firewall policy edit <index> set name "Allow_SSL-VPN" next end
edit "jsmorth" set type password set passwd <password> next end
config user group edit "VPN_Users" append member "jsmorth" next end
Authentication troubleshooting for SSL VPN in NGFW policy-based mode is otherwise similar to the default NGFW profile-based. See the article Technical Tip: A quick guide to FortiGate SSL VPN authentication and common issues and misunderstand... for some first steps in troubleshooting SSL-VPN authentication issues. |
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.