VPN Setup
Accept OpenVPN, provision the VPN, and add VPN users
DuploCloud integrates with OpenVPN by provisioning VPN users that you add to the DuploCloud Portal. OpenVPN setup is a two-step process.
Accepting OpenVPN
Accept OpenVPN Free Tier (Bring Your Own License) in the AWS Marketplace:
Log into your AWS account. In the console, navigate to: https://aws.amazon.com/marketplace/pp?sku=f2ew2wrz425a1jagnifd02u5t.
Accept the agreement. Other than the regular EC2 instance cost, no additional license costs are added.
Provisioning the VPN
In the DuploCloud Portal, navigate to Administrator -> System Settings.
Select the VPN tab.
Click Provision VPN.
After the OpenVPN is provisioned, it is ready to use. Behind the scenes, DuploCloud launches a CloudFormation script to provision the OpenVPN.
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252FV7vS8lUUzr6WeTKs22wj%252Fimage.png%3Falt%3Dmedia%26token%3D886ac35e-62d2-4ce1-a2f1-32ee581a73ed&width=768&dpr=4&quality=100&sign=c97dd762&sv=1)
You can find the OpenVPN admin password in the CloudFormation stack in your AWS console.
Adding or Deleting a VPN User
For instructions to add or delete a VPN user, see the DuploCloud User Administration documentation.
Opening a VPN Port
Users connected to a VPN can SSH or RDP into EC2 instances by default. Users can also connect to internal application Load Balancers and endpoints. However, to connect to other Services, such as databases and ElastiCache, you must open the port to the VPN:
In the DuploCloud Portal, navigate to Administrator -> Tenants.
Select the Tenant from the NAME column.
Click the Security tab.
Click Add. The Add Tenant Security pane displays.
From the Source Type list box, select IP Address.
From the IP CIDR list box, select your IP CIDR.
Click Add.
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252FDAmVoZNoOK7dSyzoC42y%252FAdd_Tenant_Security.png%3Falt%3Dmedia%26token%3D695e4d27-5fa5-44bb-9390-9a8a67f91e0c&width=768&dpr=4&quality=100&sign=a4b0a87e&sv=1)
Last updated