# Managing VPN Connection (Connect & Disconnect)

This section is used to control the VPN tunnel connection, allowing it to be connected or disconnected. The following are the steps to connect or disconnect a VPN tunnel:

* Select one of the VPN data that has already been created, then click **More → Configuration** to open the IPSec details page.

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

* On the IPSec page, scroll down to the **IPSec Tunnel** section. Click the **More** button in the Action column. From the dropdown menu, click **Connect**.

<figure><img src="/files/9SLABIdcvJ5r7BlwYFAp" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

* If the VPN is currently **active (Connected)**, only the **Disconnect** button will be available.
* If the VPN is not connected, the **Connect** button will appear instead.
  {% endhint %}


---

# 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/managing-vpn-connection-connect-and-disconnect.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.
