> 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/guideline-for-individual/cloudeka-api-list/command-reference/cldkctl-vpn/stop-openvpn.md).

# stop-openvpn

The vpn stop-openvpn command is used to stop the OpenVPN service for a specified VPN instance. This command temporarily halts the OpenVPN service until it is restarted manually.

## Usage

```
cldkctl vpn stop-openvpn [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 stop-openvpn
```

2. Enter the public IP address of the VPN in the IP Public VPN field.
3. Press y for Confirm or n for Cancel.

<figure><img src="https://content.gitbook.com/content/dRGHNSPw8ps5rkLJZT3A/blobs/0ImBRrlhtQLJ1ucYwVgy/unknown.png" alt=""><figcaption></figcaption></figure>

4. Once successful, the terminal displays **"✓ Successfully OpenVPN".**

<figure><img src="https://content.gitbook.com/content/dRGHNSPw8ps5rkLJZT3A/blobs/XkqCncnIwNuLGt24vY5N/unknown.png" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag       | Description                                                                                                                         |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| -h, --help | Help for stop open vpn command.![](https://content.gitbook.com/content/dRGHNSPw8ps5rkLJZT3A/blobs/ylUrbqwUaUo8yMThkUSI/unknown.png) |
