> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/lan-turtle-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/lan-turtle-hub/payload-development/duckyscript-for-lan-turtle/openvpn.md).

# OPENVPN

The OPENVPN commands configure and control the OpenVPN client behavior of the LAN Turtle Hub.

OpenVPN is typically controlled by a single configuration file.

## OPENVPN\_CONFIGURE

The `OPENVPN_CONFIGURE` command passes a configuration file to the VPN setup.

### Options

The OPENVPN\_CONFIGURE command expects one of the following options:

```
OPENVPN_CONFIGURE disable
OPENVPN_CONFIGURE enable [config file]
```

{% hint style="danger" %}
Errata

The OPENVPN\_CONFIGURE command does not work out of the box on the 1.0.0 firmware; this will be fixed in a future update.&#x20;

OpenVPN can still be configured from the management UI.
{% endhint %}

## OPENVPN\_DISABLE

Disable the OpenVPN client, if enabled.

## OPENVPN\_ENABLE

Enable the OpenVPN client.  The client must be configured already.
