# restart-openvpn

The vpn restart-openvpn command is used to restart the OpenVPN service for a specified VPN instance. This command is helpful when you need to reinitialize the OpenVPN service after configuration updates or connection issues.

## Usage

```
cldkctl vpn restart-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 restart-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="/files/2nlJifRpSlID0wqMJEaD" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/QN7TRv49Wx5kteHWdbFD" 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 restart open vpn 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/restart-openvpn.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.
