Skip to main content
doncacciatoconsuting
Explorer II
August 12, 2024
Solved

Accomplish FSSO user/user groups without LDAP

  • August 12, 2024
  • 4 replies
  • 1698 views

My goal is to implement FSSO for the purpose of creating firewall policies based on group membership. The caveat is that there is no LDAP server to provide group membership. We have a custom VPN application that is successfully sending username-to-IP info to Fortigates using API method here (https://fndn.fortinet.net/index.php?/fortiapi/1-fortios/3828/1/user/). However, this makes policies cumbersome because they can only be populated by source users and not groups. 

 

Any ideas ? Could Fortiauthenticator solve this problem in some manner ?

Don

 

Best answer by pminarik

Group lookup for API-based injections only works with LDAP, so FortiGate alone will indeed not suffice as far as API-based solutions go.

 

FortiAuthenticator can be a solution here, as you can either use local users with local groups, or have the API accept arbitrary usernames/groups. FSSO group filters can then be synced by FGT from FAC without using an LDAP.

API ref: https://docs.fortinet.com/document/fortiauthenticator/6.6.2/rest-api-solution-guide/679748/sso-authentication-ssoauth

 

Another option could be RSSO. The FortiGate will accept arbitrary usernames, matched to pre-configured groups. The only difficulty is that your solution will need to send valid RADIUS accounting messages to the FortiGate instead of REST API calls.

4 replies

pminarik
Staff
pminarikAnswer
Staff
August 13, 2024

Group lookup for API-based injections only works with LDAP, so FortiGate alone will indeed not suffice as far as API-based solutions go.

 

FortiAuthenticator can be a solution here, as you can either use local users with local groups, or have the API accept arbitrary usernames/groups. FSSO group filters can then be synced by FGT from FAC without using an LDAP.

API ref: https://docs.fortinet.com/document/fortiauthenticator/6.6.2/rest-api-solution-guide/679748/sso-authentication-ssoauth

 

Another option could be RSSO. The FortiGate will accept arbitrary usernames, matched to pre-configured groups. The only difficulty is that your solution will need to send valid RADIUS accounting messages to the FortiGate instead of REST API calls.

doncacciatoconsuting
Explorer II
August 13, 2024

Thanks very much, I'll take a look. Does the RSSO solution require FAC as well ? Or is this purely between the custom VPN solution I described above and the Fortigate ? 

pminarik
Staff
Staff
August 13, 2024

RSSO works by ingesting standard RADIUS Accounting messages. Any solution that supports generating it should work (FAC, Microsoft's NPS, etc.), as long as it sends all the required information (username, IP, group(s)).

doncacciatoconsuting
Explorer II
August 13, 2024

thanks very much!

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.