Fortigate - Multiple Azure SAML IdPs

​

SAML bei Azure einrichten

Neue Applikation hinzufügen

image.png

Benutzergruppen berechtigen

image.png

SAML einrichten

Gruppe und Benutzer Name muss in einer Form übertragen werden die die Fortigate verarbeiten kann.

image.png

image.png

image.png


Fortigate SAML einrichten


Zertifikat auf der Fortigate installieren

Herunterladen

image.png

Auf Fortigate installieren

image.png


SSO Authenticator per CLI einrichten

config user saml
    edit "SAML_Azure_VPN"
        set cert "*********-wc-2023"
        set entity-id "https://*********:******/remote/saml/metadata/"
        set single-sign-on-url "https://*********:*****/remote/saml/login"
        set single-logout-url "https://*********:*****/remote/saml/logout"
        set idp-entity-id "https://sts.windows.net/*********/"
        set idp-single-sign-on-url "https://login.microsoftonline.com/*********/saml2"
        set idp-single-logout-url "https://login.microsoftonline.com/*********/saml2"
        set idp-cert "REMOTE_Cert_3"
        set user-name "username"
        set group-name "groups"
        set digest-method sha1


Um auf eine Gruppe filtern zu können, muss als Gruppennamen die Object ID der Azure Gruppe eingetragen werden. Die Werte "username" und "groups" sind case sensitive!

image.png

image.png


Der Rest ist Standard. 

SSL-VPN Portal erstellen

image.png


In SSL-VPN Settings zuweisen

1719407662080-460.png​

Gruppe einer Policy zuweisen

image.png

image.png

Debug

diag debug reset
diagnose vpn ssl debug-filter clear
diagnose debug application authd -1
diagnose debug application samld -1
diagnose debug application sslvpn -1
diagnose debug console timestamp enable 
diagnose debug enable

Info

https://yura.stryi.com/en/2021-03-05/fortigate-ssl-vpn-azure-mfa/

https://docs.fortinet.com/document/fortigate-public-cloud/7.4.0/azure-administration-guide/584456/configuring-saml-sso-login-for-ssl-vpn-with-entra-id-acting-as-saml-idp

https://learn.microsoft.com/en-us/entra/identity/saas-apps/fortigate-ssl-vpn-tutorial

https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-fed-group-claims

​


Revision #9
Created 7 February 2025 10:43:02 by Otto Kucera
Updated 12 February 2025 08:25:17 by Otto Kucera