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.
kcheng
Staff & Editor
Staff & Editor
Article Id 409737
Description

This article provides the solution to the scenario when the SSL VPN user is a member of multiple groups in the Active Directory Server.

 

Taking the following user structure as an example:

  • User1 is the group member for Group1 and Group2.

 

sleekshot.png

 

  • User2 is the group member for Group1.

 

sleekshot.png

 

FortiGate is configured with the following settings:

  • SSL VPN Realm for Group1 and Group2:

 

sleekshot.png

 

  • Remote user groups from the Radius server:

 

sleekshot.png

 

sleekshot.png

 

  • SSL VPN services and firewall policy as mandatory and basic configurations.

With these settings, user1 will never get authenticated with Group2, despite the connection on the FortiClient specifically pointed to Group2 realm.

Scope FortiGate, Microsoft NPS.
Solution

The solution is to specify the NAS-IP in the realm setting and include the NAS-IP as a condition in the NPS Server specified in the SSL VPN realm setting:

 

config vpn ssl web realm

edit <REALM_NAME>

set radius-server <RADIUS>

set nas-ip <NAS-IP>

next

end

 

The NAS-IP can be a dummy IP as it is used purely for network policy identifier purposes.

 

Configuration on NPS Server:

sleekshot.pngsleekshot.png

 

 The result on the NPS server would look similar to the following for both groups:

 

sleekshot.png

 

sleekshot.png

 

When user1 performs authentication with Group2 realm (https://<FGT WANIP>:<SSLVPN Port>/<Realm_name>), the specific NAS-IP will be sent along with the RADIUS-REQUEST packet:

 

sleekshot.png

 

With this additional attribute and condition set on both the FortiGate realm setting and NPS server policy, it allows users who reside in multiple groups to match the desired realm and user group:

 

sleekshot.png

 

Related document

NAS-IP Support per SSLVPN REALM 

Contributors