> 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/connect-ipsec.md).

# Connect IPsec

Here are the steps to create IPsec:

* On the Network page, select the VPN tab, select Configuration in the More column.
* In the IPsec Tunnels section on the IPsec page, click the More button, and select Connect.
* The notification "IPsec connection established successfully" appears and the Phase 1 and Phase 2 tables appear.

The following is an explanation of the tables in Phase 1 and Phase 2 in IPsec

Connect IPsec - Phase 1

<table><thead><tr><th width="264">Column</th><th>Information</th></tr></thead><tbody><tr><td>Local - ID</td><td>The sending VPN's floating IP address.</td></tr><tr><td>Local - Host</td><td>The sending VPN's floating IP address and the port used.</td></tr><tr><td>Remote - ID</td><td>The recipient's VPN floating IP address.</td></tr><tr><td>Remote - Host</td><td>The recipient's VPN floating IP address and port used.</td></tr><tr><td>Roles</td><td>The protocol is used to regulate the establishment of a VPN connection and exchange encryption keys in it.</td></tr></tbody></table>

Connect IPsec - Phase 2

<table><thead><tr><th width="235">Column</th><th>Information</th></tr></thead><tbody><tr><td>Local</td><td>The sender's IPsec subnet address.</td></tr><tr><td>Remote</td><td>The IPsec network device the recipient is using</td></tr><tr><td>Stats - Bytes-in</td><td>To measure the total number of bytes of data received.</td></tr><tr><td>Stats - Packets-in</td><td>To measure the total number of data packets received.</td></tr><tr><td>Stats - Bytes-out</td><td>To measure the total number of bytes of data that comes out.</td></tr><tr><td>Stats - Packets-out</td><td>To measure the total number of outgoing data packets.</td></tr></tbody></table>
