# Create IPsec

To create IPsec you have to fill in several columns on the IPsec page including:

<table><thead><tr><th width="285">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Phase 1 - Remote VPN</strong></td><td>VPN IP address on the destination project.</td></tr><tr><td><strong>Phase 1 - Pre Shared Key</strong></td><td>Keywords must be the same as the goal project.</td></tr><tr><td><strong>Phase 2 - Remote Subnet</strong></td><td>IP address of the subnet on the destination project</td></tr></tbody></table>

Here are the steps to create IPsec:

* On the Network page, select the VPN tab, and select Configuration in the More column.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.5%20configuration.png" alt=""><figcaption><p>Create IPsec</p></figcaption></figure>

* Select the IPsec tab and click the Create IPsec button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.61%20create-ipsec.png" alt=""><figcaption><p>Create IPsec</p></figcaption></figure>

* In the Remote VPN section, fill in the IP address of the destination VPN project.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.62%20create-ipsec.png" alt=""><figcaption><p><br>Create IPsec</p></figcaption></figure>

* Press the Generate Pre-Shared Key button if you don't have a key yet, whereas if you already have the key from the target project, paste it into the Pre-Shared Key column.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.63%20create-ipsec.png" alt=""><figcaption><p>Create IPsec</p></figcaption></figure>

* Fill in Remote Subnet with the subnet IP address and prefix used in the destination project.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.64%20create-ipsec.png" alt=""><figcaption><p>Create IPsec</p></figcaption></figure>

* A notification appears "IPsec configuration \[vpn-name] has been successfully created".

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.65%20create-ipsec.png" alt=""><figcaption><p>Create IPsec</p></figcaption></figure>
