Migrating from Windows Reverse Proxy to Sophos XG WAF.
See tutorial below.
Assumes you know how to add Real webservers to XG, have a functioning ADFS server, and Federated domain.
This thread was automatically locked due to age.
Hi AADD ,
Let us know what you wish to configure in WAF ,
Configuration as per KB article .
ADFS WAF Policy and Rule.
Caveat: Microsoft Edge Browser will not display the images on the page, however will still work for authentication.
Solution Edited to correct Edge needing access to other paths for Style Sheet and imagery. See follow up post.
Solution Edited to correct Outlook needing access to other paths and exceptions. See follow up post.
SFOS 18.x Solution below in a different post.
First we need to set up the combined Microsoft ADFS STS 2012R2 Protection policy.
Edge requires an additional Path-specific routing entry.
Add new Path
Hi AADD,
I just wanted to thank you for going through this and posting potential fixes.
I will be trying these against 2016 as that has been the issue. I'm crossing my fingers these all work on 2016 and I can go back to using WAF for these scenarios.
Thanks,
John
Outlook also requires special exemptions.
See the Policy creation post and note the policy changes marked (edited 2018-6-8 for Outlook)
Make the following additions to the WAF Business Rule
Add new Path
Add new Exception
Some of Microsoft's IPs used for Federation authentication tokens for Autodiscover are listed on the public black lists used for Block clients with bad reputation: enabled. This can affect some or all users from authenticating to Outlook MAPI and ActiveSync protocols.
At this point, unless we can add specific IP blocks to a whitelist somewhere that over-rides Block clients with bad reputation:, it must be disabled.
SFOS 18.0.1 MR-1-Build396 Update!!!
The 18.x firmware requires additional checks to be bypassed. I will update this post for the complete protection policy and firewall rule as the screens are a little different.
ADFS WAF Policy and Rule.
First we need to set up the Microsoft ADFS STS 2012R2 Protection policy.