> 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/deka-flexi/deka-vpn/ipsec-configuration/create-ipsec.md).

# 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.

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

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

* 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.

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

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