# Add Phase 2

Phase 2 in IPSec is used to define which traffic (subnet or network) will be encrypted and transmitted through the VPN tunnel. There are steps to add Phase 2:

* Go to the **VPN** list table, then click **More → Configuration** on the selected VPN.

<figure><img src="/files/54G3BZ9wQ04geGja9Ql9" alt=""><figcaption></figcaption></figure>

* In the **IPSec** tab, scroll down to the **IPSec Tunnel** section. Click the **Add Phase 2** button.

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

* Fill in the required information:

<table><thead><tr><th width="160.66668701171875">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Remote Subnet</strong></td><td>The destination subnet configured to connect with the VPN.</td></tr><tr><td><strong>Network Size</strong></td><td>The subnet mask (e.g., /24, /16) that defines the size of the network.</td></tr><tr><td><strong>Description</strong></td><td>Additional information or notes related to the configuration.</td></tr></tbody></table>

* Click **Create** to save the configuration.

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

* The system will display a notification stating **“IPSec Phase 2 has been successfully created."**

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

* To check if IPSec Phase 2 has been successfully added, click the **More** button and then select **IPSec Phase 2**.

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

* The IPSec Phase 2 window shows the list of existing Phase 2 configurations along with their details.

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


---

# 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-vpn/configuration-deka-vpn-ipsec/ipsec-tunnel/add-phase-2.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.
