# disable-ipsec

The vpn disable ipsec command allows you to disable the IPSec configuration of a VPN instance. This command temporarily deactivates the IPSec connection while keeping the configuration data intact, so it can be re-enabled later when needed.

## Usage

```
cldkctl vpn disable-ipsec [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl vpn disable-ipsec [flags]
```

2. Enter your VPN instance name in the **VPN Name** field. You can refer to **vpn list** to obtain or verify your VPN instance name.
3. Enter the public IP address of your VPN in the **IP Public** field.
4. Enter the IPSec description in the **Description IPSec** field. Refer to **vpn list-ipsec** to ensure the description matches the existing IPSec configuration.
5. Confirm the process by pressing **y** for Confirm or **n** for Cancel.

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

6. Once successful, the terminal displays **"✓ User OpenVPN successfully deleted".**

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

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                     |
| ---------- | ------------------------------- |
| -h, --help | Help for disable ipsec command. |


---

# Agent Instructions: 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/cloudeka-api-list/command-reference/cldkctl-vpn/disable-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.
