AWS Client VPN
AWS Client VPN provide a secure access to your AWS resources from your on premise by managing client-based VPN service. You can access your resources from any location using an OpenVPN-based VPN client.
You can enable two-factor authentication (2FA) for your AWS managed active directory directory to increase security level. When you enable 2FA, your users enter their username and password (first factor) as usual, and they have to enter an authentication code (the second factor) which will share on your virtual or hardware 2FA solution.
To enable 2FA you can enable RADIUS authentication in AWS Workspace and configure policies in miniOrange to enable or disable 2FA for users.
miniOrange 2FA for VPN Login
miniOrange accomplishes this by acting as a RADIUS server, that accepts the username/password of the user entered as a RADIUS request, validates the user against the user store as Active Directory ( AD ), prompts him for the 2-factor authentication and either grants/revokes access based on the input by the user.
Types of 2FA Authentication with RADIUS
The 2-factor authentication can be of two types depending on the VPN clients.
In VPN Clients that support RADIUS Challenge :
- VPN Clients that support RADIUS Challenge.
- VPN Clients that do not support RADIUS Challenge.
- First step is user's username & password get validated against the credentials stored in Active Directory and 2nd request sends a success response, this request is sent to validate the 2-factor authentication of the user, on successful authentication user is granted access to the application.
- Authentication methods : All Authentication methods supported by miniOrange. Software Token, Push Notification, OTP over Email to name a few.
- RADIUS Clients that support this authentication type:
-> Palo Alto
-> Pulse Secure Connect Secure SSL
Enable Two-Factor Authentication (2FA) for your AWS Connector client VPN managed Active directory to increase security level
Guidelines to configure RADIUS authentication in AWS connector Client with miniOrange.
Step 1: Add the Radius Client in miniOrange
- Login into the Admin Dashboard.
- Click on Apps >> Manage Apps.
- Click on Configure Apps.
- Select Radius tab and select Radius Client.
- Configure details below to add Radius Client.
||AWS VPN or any other name for your reference
|| IP address of AWS VPN server which will send Radius authentication request
||Security key (Keep this with you, you will need to configure same in PaloAlto)
- Click on Save.
Step 2: Enable 2 factor authentication
- Click on Policies tab >> App Authentication Policy.
- Click on Add Policy tab
- In Step 1 Select “AWS VPN” in Application section.
- In Step 2 Select “DEFAULT” in Group Name and enter Policy name as “AWS VPN” add policy then Select First factor as “PASSWORD”.
- Enable Second factor then click on Save.
Step 3: Setup LDAP authentication ( OPTIONAL)
- Select User Stores then click on Add User Store.
- Select “AD/LDAP” tab and configure it with your LDAP settings.
||Active Directory or your directory type
|LDAP Server URL
||Your AD server URL or IP address
|Bind Account DN
||Click on AD FS>>Domain>>respective Users>> Properties>>Attribute Editor then copy the value of distinguishedName & paste it against Bind Account DN.
||Search Base is a user search location. It means where to search for a user.Example: cn=users,dc=miniorange,dc=com
||If you want to add extra conditions on user search you can add it in Search Filter. Example:(&(objectClass=*)(mail=?))(&(objectClass=*)(samaccountname=?))
- Enable “Active LDAP” and “Sync user in miniOrange” option and click on save.
- Click on Test Configuration to check whether your LDAP configuration details are right and LDAP server is reachable. It will ask for test username & password from LDAP directory.
- After this, it will show you the list of User stores. Click on “ Make Default “.
Step 4: Amazon WorkSpace client
- Log in to the AWS Console..
- Click on WorkSpaces >> Directories.
- Select option directory and click on Actions >> Update Details >> Multi-Factor Authentication.
- Enable Multi-Factor Authentication option and fill the following information:
|RADIUS server IP address(es)
||Enter the IP address(es) of each miniOrange Authentication Proxy server (comma-separated).
||Enter 1812 (or whichever port configured on your miniOrange Authentication Proxy).
|Shared secret code
||Enter the RADIUS secret shared with your miniOrange Authentication Proxy.
|Server timeout (in seconds)
||Increase the timeout to 30 seconds.
||Keep default setting.
- Click on “Update and Exit”.
Step 5 : miniOrange 2FA for AWS VPN Login
- Login to WorkSpaces client and enter Username and password.
- It will prompt you for 2 Factor code if you have enabled 2-factor authentication in miniOrange policy.
- Enter your 2-Factor code and you should be connected to VPN.
For Further Details:
Two Factor authentication
AWS Client VPN administration
What is AWS Client VPN ?