# 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://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FWDLnoadiCrv9JUsC1SUk%2Funknown.png?alt=media&#x26;token=3cfd50e6-2d27-459d-a410-dcaaa9133e2d" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FTIGMgQ445RFEuXlon116%2Funknown.png?alt=media&#x26;token=43d493bd-444f-47af-9367-2dcfe4749835" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag       | Description                                                                                                                                                                                                                                          |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| -h, --help | Help for stop open vpn command.![](https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fk7jH1h6kw3OaGEmtU3Kl%2Funknown.png?alt=media\&token=b16e75f7-f3d1-4fa4-8aba-452fd1e2f9f8) |
