All pages
Powered by GitBook
1 of 3

Loading...

Loading...

Loading...

VPN

Set up and connect to the VPN for DuploCloud GCP users

Configure and implement secure VPN connections using OpenVPN. These configurations help optimize network security and ensure you can securely access your cloud resources. It includes two subsections:

  • VPN Setup: This page outlines the two-step process for setting up OpenVPN, including accepting the OpenVPN agreement in the GCP Marketplace and provisioning a VPN in the DuploCloud Portal.

  • Connect to the VPN: This section guides users through connecting to the provisioned VPN, enabling secure communication between local environments and cloud resources.

VPN Setup

Integrate with OpenVPN by provisioning VPN users

DuploCloud integrates with OpenVPN by provisioning VPNs for users added through the DuploCloud Portal. The OpenVPN setup involves a two-step process: accepting the OpenVPN agreement in the GCP Marketplace, and Provisioning a VPN in the DuploCloud Portal.

Accepting OpenVPN

Accept the OpenVPN Free Tier (Bring Your Own License) agreement in the GCP marketplace:

  1. Log into your GCP account.

  2. In the Google Cloud Console, navigate to the .

  3. Search for OpenVPN in the Marketplace.

  4. Select the product (OpenVPN Free Tier) and accept the agreement.

Provisioning a VPN

  1. In the DuploCloud Portal, navigate to Administrator -> System Settings.

  2. Select the VPN tab.

  3. Click Provision VPN. Behind the scenes, DuploCloud launches a cloud formation script to provision the OpenVPN. OpenVPN is ready to use.

You can find the OpenVPN admin password in the cloud formation stack in your GCP console.

Optional VPN Configurations

Provisioning a VPN While Creating a User

  1. In the DuploCloud Portal, navigate to Administrator -> Users.

  2. Click Add. The Create User pane displays.

  3. Enter the username in the Username field.

Deleting VPN Access for a User

See . To delete VPN access, you must have administrator privileges.

Opening a VPN Port

By default, users connected to a VPN can SSH or RDP into virtual machines (VMs). Users can also connect to internal Load Balancers and application endpoints. However, you must open a VPN port to connect to other Services, such as databases and ElastiCach.

  1. In the DuploCloud Portal, navigate to Administrator -> Tenants.

  2. Select the Tenant in the NAME column.

  3. Select the Security tab.

  4. Click

In the Roles field, select the appropriate role(s) for the user.
  • Select Provision VPN.

  • Click Submit.

  • Add
    . The
    Add Tenant Security
    pane displays.
  • In the Source Type field, select Ip Address.

  • In the IP CIDR field, enter the VPN IP address range in CIDR notation, for example, 10.0.0.0/24 or 192.168.1.0/24.

  • In the Protocol list box, select the protocol you wish to allow through the VPN port.

  • Enter the range in the Port Range field, specify the port or range of ports that need to be opened.

  • Enter a brief description of the security rule being added in the Description field.

  • Click Add. The VPN port is open.

  • Marketplace
    Deleting a VPN user
    The VPN tab on the System Settings page in the DuploCloud Portal
    The Create User pane
    The Add Tenant Security pane

    Connect to the VPN

    Connecting to the DuploCloud VPN with the OpenVPN client

    DuploCloud integrates with OpenVPN by automatically provisioning VPNs for users added through the DuploCloud Portal. As a DuploCloud user, you can securely access resources within the private network by connecting via the OpenVPN client.

    The OpenVPN Access Server only forwards traffic intended for resources within DuploCloud-managed private networks. Traffic to external internet resources does not pass through the VPN tunnel.

    Accessing VPN Credentials

    1. Click on your user name in the upper right corner of the DuploCloud Portal, and select Profile. Your Profile page displays.

    2. VPN credentials are displayed in the VPN Details area of the Profile page.

    Setting up the OpenVPN User Profile and Client App

    1. Click on your user name in the upper right corner of the DuploCloud Portal, and select Profile. Your Profile page displays.

    2. Click the VPN URL link in the VPN Details section. Browsers may call the link unsafe since it is using a self-signed certificate. Proceed to it anyway.

    3. Log in to the OpenVPN Access Server portal using the credentials from your Profile page.

    1. Click the link labeled Yourself (user-locked profile) to download your OpenVPN user profile.

    2. Open the .ovpn file and click OK in the Import .ovpn profile dialog.

    3. Click Connect. The OpenVPN user profile and client app are set up.

    Click on the OpenVPN Connect Recommended for your device link to install the OpenVPN Connect application on your local machine.

    The VPN Details section of the user Profile page