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


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/deka-flexi/deka-vpn/ipsec-configuration/connect-ipsec.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
