Skip to main content
JeffWeston
Visitor III
August 17, 2023
Question

Removing VPN access to AD pull for SAML for KACE

  • August 17, 2023
  • 4 replies
  • 1860 views

Hello everyone,

 

I recently configured SAML for our KACE helpdesk platform as we wanted to simplify the login process with SSO through our Azure AD. We got everything working fine and encountered no real access issues at first.

However, it was noted that when trying to use SAML to login from outside the network the login process got stuck in a loop. One further exploration we determined that in order for SAML to pull from AD we had to be on VPN when outside the internal network.

I have scoured forums, blogs, posts, tutorials, youtube and have yet to find the answer to this issue. I put in a support claim with KACE and their assessment is that it's a firewall policy within fortiguard that is preventing an internal device trying to access AD for an internal system but from an external connection.

I have looked through our firewall policies and I am stumped as nothing seems to be preventing this access. 

Have anyone encountered this issue before? Any idea where I can resolve this access loop?

4 replies

Anthony_E
Staff
Staff
August 21, 2023

Hello Jeff,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Best Regards
Anthony_E
Staff
Staff
August 24, 2023

Hello Jeff,

 

We are still looking for someone to help you.

We will come back to you ASAP.


Regards,

Best Regards
pminarik
Staff
Staff
August 24, 2023

The IdP's login page (the URL defined in set idp-single-sign-on-url), to which the authenticating client will be redirected by the SP (FortiGate), must be accessible to the client without the VPN (because they're not connected to it yet).

 

Is this true in your evironment?

HarshChavda
Staff
Staff
September 8, 2023

Hello @JeffWeston ,

 

Double-check your FortiGuard firewall rules to ensure that the necessary ports and protocols required for SAML and AD are open for external access. Ensure that NAT settings are correctly configured to allow external devices to reach your internal network. Make sure the SAML endpoints are accessible from outside the network. Sometimes, the endpoints are configured to be intranet-only.  If you're using ADFS, ensure that it's accessible from outside the network. Ensure that the certificates used for SAML are valid and accessible from outside the network. Use browser developer tools to trace the SAML requests and responses. Look for any anomalies or errors in the SAML assertions. Check the KACE logs and Azure AD logs for any errors or warnings that could provide a clue. 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!