> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/network/2.-vpn/ipsec-remote-access-vpn-clients-on-windows.md).

# IPSec Remote Access VPN Clients on Windows

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

This configuration guide describes configuring IPsec IKEv2 Remote Access VPN by Windows Client on Windows OS to establish VPN connections. After that, the customer can access virtual machines and applications located on the HGIO Cloud with more security and reliability.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

**Setup IPSec IKEv2 Remote Access VPN**\
**Setup VPN Windows Client**

{% stepper %}
{% step %}
**Step 1:** Configuration VPN Profile for Windows client.

Open **PowerShell** with **Administrator** permission.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fwkq15nKk43T8F9ZFSmLC%2Fimage.png?alt=media&amp;token=32b7e24f-10c2-4eee-9e6c-202af42ef259" alt=""><figcaption></figcaption></figure>

Copy and paste the information below into PowerShell (replace red word xxxx by your domain name).

> Add-VpnConnection -Name "HI-GIO-IKEv2-VPN" -ServerAddress " remote-xxxxx.xxxx01.vpn.higio.net " -TunnelType "Ikev2"
>
> Set-VpnConnectionIPsecConfiguration -ConnectionName "HI-GIO-IKEv2-VPN" -AuthenticationTransformConstants GCMAES128 -CipherTransformConstants GCMAES128 -EncryptionMethod GCMAES128 -IntegrityCheckMethod SHA256 -PfsGroup "PFS2048" -DHGroup "Group14" -PassThru -Force

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FCBmIiY3yJEmjhCQ5YbNC%2Fimage.png?alt=media&amp;token=46a8bcd0-77fe-4e95-afed-3c864bd175dd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** Enable VPN split tunneling in the Windows client.

Virtual private network (VPN) split tunneling lets you route some of your application or device traffic through an encrypted VPN. In contrast, other applications or devices have direct access to the internet.

Copy and paste the information below into PowerShell.&#x20;

> Set-VPNconnection -name "HI-GIO-IKEv2-VPN" -SplitTunneling $true

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FQnVv1bRD0u2b6ZqpyA9Y%2Fimage.png?alt=media&amp;token=79b80ed3-cd82-46ef-9bd1-672fa28d68d2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 3:** Add a route to a VPN connection.

* Add a VPN connection route for the subnet (example: <mark style="color:red;">10.16.1.0/24</mark>). If we need to add an additional subnet, perform the same way and replace it with the new subnet.
* Copy and paste the information below into PowerShell.&#x20;

> Add-VpnConnectionRoute -ConnectionName "HI-GIO-IKEv2-VPN" -DestinationPrefix "<mark style="color:red;">10.16.1.0/24</mark>" -PassThru

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F2Rbp8VCtenbG5updJTxa%2Fimage.png?alt=media&amp;token=4ab3b5f6-b736-4c92-a360-8899fe475a2f" alt=""><figcaption></figcaption></figure>

* Step Connect VPN from Windows Client.

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fefg9EjsMkLA0YlkNtAI6%2Fimage.png?alt=media&amp;token=03ecbd6c-8cd9-4c21-a7c4-2204274fca1b" alt=""><figcaption></figcaption></figure></div>

* Login to the account with the provided username and password, then click OK.

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FTY8i6y7AxAED3OQuQxKt%2Fimage.png?alt=media&amp;token=f93cd9c0-0c1d-4d63-96db-3efe16ff633a" alt=""><figcaption></figcaption></figure></div>

* The VPN connection was established successfully.&#x20;

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FDilIoYKovXbn9tKayeHP%2Fimage.png?alt=media&amp;token=c0116d24-c5ec-4984-b66f-a325c8f54cf2" alt=""><figcaption></figcaption></figure></div>

* Using the ping command line, confirm that you are connected to the application located on the HGIO Cloud.

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FYKZKDUVCmEDo49HqdJmS%2Fimage.png?alt=media&amp;token=8a5a6a68-69e9-40c2-b161-2f7f34bee157" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.higiocloud.vn/network/2.-vpn/ipsec-remote-access-vpn-clients-on-windows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
