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

# list-openvpn

The vpn list-openvpn command retrieves a list of OpenVPN configurations. This command displays essential details such as Mode, Protocol, Interface, Local Port, NCP Enable, and Tunnel Network

## Usage

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

2. Enter the VPN name in the VPN Name field. To obtain or verify it, refer to vpn list.
3. Enter the public IP address in the IP Public field.
4. Press y for Confirm or n for Cancel.

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

5. Once successful, the terminal displays the OpenVPN list containing information such as Mode, Protocol, Interface, Local Port, NCP Enable, and Tunnel Network.

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

| Column         | Description                                                                         |
| -------------- | ----------------------------------------------------------------------------------- |
| Mode           | Displays the OpenVPN mode used for the connection.                                  |
| Protocol       | Shows the communication protocol used by OpenVPN.                                   |
| Interface      | Specifies the network interface for the OpenVPN connection.                         |
| Local Port     | Displays the local port used for OpenVPN communication.                             |
| NCP Enable     | Indicates whether the Negotiable Cryptographic Parameters (NCP) feature is enabled. |
| Tunnel Network | Displays the network range used for the OpenVPN tunnel.                             |

## 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 list open vpn command. |
