Skip to main content

Citrix Access Gateway is Citrix's SSL-based VPN solution. This document describes how to leverage Radius to enable support for two-factor authentication from WiKID for the Access Gateway.

For the longest time Citrix didn't support Radius, which was pretty shocking for a remote access company. That may also have reflected the fact that few companies needed anything more than Windows authentication. However, with more companies required to use two-factor authentication due to regulatory requirements such as PCI, Windows authentication won't do. This document details how to use two-factor authentication from WiKID with the Citrix Access Gateway.

  • First, launch the Citrix Access Gateway Administration Tool.:
    • Select the Authentication tab..
    • Either delete the default realm and recreate it as Radius authentication or create a new realm.
    • Enter the IP Address of the WiKID Strong Authentication server
    • Enter 1812 for the port number
    • Enter the shared secret that will be used on the WiKID server.
    • Click OK to update the configuration.
  • Now, we'll add the second factor: WiKID.
    • Log into the WiKID server and click on the Domains Tab
    • Click on Create a New Domain
    • Enter the information requested. The Domain Server code is the zero-padded IP address of the WiKID server. So, if the external IP address is, the WiKID server code would be 216239051099. Click "Create". N.B.: If you enter the URL for the Citrix Access Gateway in the "Registered URL:", the domain will support mutual authentication.
    • Click Network Clients tab and on "Create a new Network Client".
    • Enter the information requested. For the IP Address, use the IP address of your Citrix Access Gateway Server. Select Radius and the domain you just created. Click "Add" when you're finished.
    • On the next page, enter the shared secret you entered on the Sonic Wall server. You do not have to enter any information under "Return Attributes".
    • Important: From the WiKID terminal or via SSH, you will need to run "stop" and then "start" to load the new configuration into the WiKID Radius server.

That should be it for setting up the Citrix Access Gateway for two-factor authentication. Now, let's test the system by setting up user manually:

  • starting the WiKID token client
  • Select "New Domain" and enter the 12 digit domain identifier you set up on the WiKID server.
  • Enter your desired PIN. You will get a registration code back from the WiKID server.
  • Login to the WiKID Admin server again and click on the Users tab, then "Manually Validate a User"
  • Click on your registration code (it should be the only one) and enter your desired username.
  • Your username is now valid. Now start up a browser and point it the Citrix Access Gateway and try to login with a WiKID one-time password.

If it doesn't work, check the WiKID server logs. When a one-time password is requested, you will see "Passcode Request Successful" in the logs. After that you should see "Successful Online Passcode Validation". If you don't see anything after the "Passcode Request Successful", then the OTP validation is not getting to the WiKID server from the SonicWall. Be sure to run "stop"/"start" on the WiKID server.

The WiKID Strong Authentication System is a very reasonably priced two-factor authentication solution. We invite you to learn more about our technology and architecture and to download and test the Enterprise version.

Citrix and Citrix Access Gateway (tm) are trademarks of Fortinet Inc. WiKID(tm) is a trademark of WiKID Systems, Inc.



Copyright © WiKID Systems, Inc. 2024 | Two-factor Authentication