> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/network-services/virtual-private-network-vpn/how-tos/create-a-vpn.md).

# Create a VPN

Creating a VPN is fast and straightforward. The created VPN is an L2TP/IPsec-based tunnel.

***

## Create a VPN user using the control panel

You find the VPN service under **VPN** in the left-hand menu under **Networking**.

To create a new VPN user, first select **VPN** in the left menu and then click **Create VPN**. The VPN user will be created in the [project](/platform/control-panel/projects.md) you are currently in.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FlQKrVCIjR69uVUuaLWRn%2Fvpn-create-vpn.png?alt=media&amp;token=50f6d4c0-7bb3-44a9-ba6a-468698cc87d7" alt=""><figcaption></figcaption></figure>

In the dialog box that opens, choose a name for the VPN user and a password. Then, click **Create**. The name will include the full name as you see it, including the project name.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2F24vGwgrvGmeMQmYbGIG3%2Fvpn-create-vpn-name-password.png?alt=media&amp;token=d737827b-d339-4d38-8727-02e46ce19d64" alt=""><figcaption></figcaption></figure>

## Create a VPN user using the API

To create a new VPN user using the API, use the [vpn/createuser](https://github.com/GleSYS/API-docs/wiki/API-Documentation#vpncreateuser) endpoint.
