This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Duo Integration with Sophos XG for 2FA

Hello,

I have integrated Cisco Duo with Sophos XG (running firmware 18.01), but have issues with SSL VPN. My AD is my Primary authentication method, while Duo is my second factor authentication. When I test connection, all works well.

I have changed the SSL authentication method to use Duo first, when I try to VPN, I do receive a PUSH which I approve, but still fails (wrong username or something like that). I see it on Duo as successful, but still would not work.

Has anyone done this integration recently on firmware 18 now that we can set timeout values.

Thanks.



This thread was automatically locked due to age.
Parents
  • Hello Tobi,

    Thank you for contacting the Sophos Community!

    IF you put an incorrect password on purpose and check the /log/access_server.log, what is the error?

    Also try enabling debugging for the access server log, to turn it off run the same command.

    # service access_server:debug -ds nosync

    If you test the user accessing the User Portal does it work?

    Can you confirm the user that is using DUO has a group assigned to it, as new accounts might be created by the Radius auth, if this is the case add the user to the SSL VPN group and have the user to re-download the config and try again.

    Regards,

  • Hello Emmanuel,

    When I input the wrong password, can see it on the debug level. However, when I put Duo as the first authentication method in the user portal, I can do 2FA successfully to access the portal, but I can no longer see the SSL VPN tab in order to download the config. I see that tab only when I remove Duo from the authentication method.

    Please help.

  • Actually, DUO is the NPS. 

    There is a DUO KB for UTM, which indicates the same mechanism.

    https://duo.com/docs/sophos-utm

  • Checking the documentation, it appears you are quite correct.

    You can do it the way I suggested if you want, in which case Duo Authentication Proxy is just a proxy and NPS is the Radius server. The first article you link to (Azure MFA) uses NPS rather than LDAP.

    I had forgotten that  Duo Authentication Proxy can use LDAP. When we set it up some time ago, we were already using Radius via NPS for all our networking equipment and SSH logins so we just linked Duo Authentication Proxy in to that as the easiest implementation for our existing setup.

  • Thanks JasP, thanks Lucar Toni. I believe the issue I am facing from what I have read from you both is having Duo act as a radius server, and Sophos XG not been able to send attributes to it. I'd integrate Duo as an LDAP and not a Radius Server to Sophos and see if that works well. I am trying to avoid having an NPS as radius server except if there is no other way.

    I'd definitely update soon guys.

    Thanks again.

  • FormerMember
    0 FormerMember in reply to Tobi Babatunde

    Hi ,

    I would check if OTP is configured for SSL VPN on the XG firewall. If you are going to use Duo for OTP, disable OTP from XG for SSL VPN. Navigate to Authentication > One-time password > Settings > Enable OTP for facilities. 

    I have recently worked on an issue similar to yours, and it was caused by having OTP selected for the service on the firewall. 

    Thanks,

  • Thanks H_Patel.

    I am noting that also, and would revert back.

  • Thanks Lucar Toni, adding the user to the VPN group was all that was needed.

    Many thanks for your help.

  • If you have time, there is a way to contribute back to us, and write a recommend read for others! 

    Maybe we can assist to write up the DUO Integration? 

  • I'd be glad to do that. Please let me know how and when?

  • FormerMember
    0 FormerMember in reply to Tobi Babatunde

    Hi ,

    I'm following up with you via PM on this. 

    Thank you  for your suggestion!

    Thanks,

  • Did this write up ever happen? At the Sophos end, did you setup the DUO Proxy as an LDAP server or an AD server?

    I can get DUO proxy to work as an AD server in Sophos but not as an LDAP server. Unfortunately I want to retain my principal AD server setup and add DUO Proxy as an additional authentication server (using a different port). Sophos won't allow me to have two AD servers on the same IP so I need to run the DUO Proxy as an LDAP server in Sophos and I can't get it to work.

    I'll start a new post with the issue I'm facing but before I did I wondered if this ever got written up so I can have a look first.

Reply
  • Did this write up ever happen? At the Sophos end, did you setup the DUO Proxy as an LDAP server or an AD server?

    I can get DUO proxy to work as an AD server in Sophos but not as an LDAP server. Unfortunately I want to retain my principal AD server setup and add DUO Proxy as an additional authentication server (using a different port). Sophos won't allow me to have two AD servers on the same IP so I need to run the DUO Proxy as an LDAP server in Sophos and I can't get it to work.

    I'll start a new post with the issue I'm facing but before I did I wondered if this ever got written up so I can have a look first.

Children
No Data