> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/deka-gpu/deka-gpu-deka-vpn/configuration-deka-vpn-ipsec/create-ipsec.md).

# Create IPsec

The Create IPSec feature is used to create a new IPSec configuration for the selected VPN.

On the **VPN List** page, click **More** in the **Action** column, then select **Configuration**.

<figure><img src="/files/0xsTT8SktYWADNz20h1f" alt=""><figcaption></figcaption></figure>

On the **IPSec** tab, click the **Create IPSec** button.

<figure><img src="/files/QdCHLdy9zbw551IppI2j" alt=""><figcaption></figcaption></figure>

The **Create IPSec** page appears. The following tables describe the fields required to create an IPSec configuration.

**Phase 1**

<table><thead><tr><th width="179.603515625">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Remote VPN</strong></td><td>Specifies the remote VPN address used for the IPSec configuration.</td></tr><tr><td><strong>Pre-Shared Key</strong></td><td>Specifies the pre-shared key used for the IPSec configuration.</td></tr><tr><td><strong>Description</strong></td><td>Specifies a description for the Phase 1 configuration.</td></tr></tbody></table>

**Phase 2**

<table><thead><tr><th width="180.1015625">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Remote Network</strong></td><td>Specifies the remote network for the IPSec configuration.</td></tr><tr><td><strong>Network Size</strong></td><td>Specifies the network size for the remote network.</td></tr><tr><td><strong>Description</strong></td><td>Specifies a description for the Phase 2 configuration.</td></tr></tbody></table>

Complete the **Remote VPN** field with the remote VPN address.

<figure><img src="/files/Z00ZpwLHrA5yQK8IRq0K" alt=""><figcaption></figcaption></figure>

Provide the **Pre-Shared Key**, or click **Generate Pre-Shared Key** to automatically generate a pre-shared key.

{% hint style="warning" %}
The pre-shared key must be the same on both sides of the IPSec configuration.
{% endhint %}

<figure><img src="/files/E0BZgD2QWjbW1mYkQkur" alt=""><figcaption></figcaption></figure>

Fill in the **Description** field for **Phase 1**.

<figure><img src="/files/zvm2gTGee9RoRbmScOxH" alt=""><figcaption></figcaption></figure>

Specify the **Remote Network**, then select the **Network Size**.

<figure><img src="/files/ZEVgB4YutjDm7Ln55E0W" alt=""><figcaption></figcaption></figure>

Complete the **Description** field for **Phase 2**.

<figure><img src="/files/5nzBCXbm6PFqUTQuRYpr" alt=""><figcaption></figcaption></figure>

After all required fields have been completed, click the **Create** button.

<figure><img src="/files/hTknxTHE2bM5VOhfcThr" alt=""><figcaption></figcaption></figure>

The system displays a notification indicating that the IPSec configuration is being created.

<figure><img src="/files/E6BuytXkG6D9BTeOAbtJ" alt=""><figcaption></figcaption></figure>

If the IPSec configuration is successfully created, the system redirects you to the [**IPSec Detail**](/guidance-for-enterprise/deka-gpu/deka-gpu-deka-vpn/configuration-deka-vpn-ipsec/ipsec-detail.md) page, where you can view the IPSec information and manage the IPSec tunnel.
