# OpenVPN

A fully functional OpenVPN module has been included in the firmware by default. You can follow the below steps to configure the OpenVPN module to connect the router to the VPN provider's server.

1. After accessing the router, go to `Services` > `OpenVPN`.&#x20;
2. In the Text field at the bottom of the page, enter the name of the configuration (e.g., *MyVPN*).
3. From the drop-down menu, select “`Simple client configuration for a routed point-to-point VPN`” and click `Add`.

<figure><img src="https://1340417500-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvFoPQjE_9d9UfSmbIn%2F-M2H5xLiGjRWc1zs2RXq%2F-M2H8adY3T2NSt56tpEI%2FOutdoorRouter_OpenVEN-1-Point-to-Point.png?alt=media&#x26;token=c1aec349-8499-46a7-a794-7f93fc6fb090" alt=""><figcaption><p>OpenVPN - Simple client configuration for a routed point-to-point VPN</p></figcaption></figure>

&#x20;   4\. It will redirect to the configuration page. Click on the link `Switch to advanced configuration`.

<figure><img src="https://1340417500-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvFoPQjE_9d9UfSmbIn%2F-M2H5xLiGjRWc1zs2RXq%2F-M2HA2gVeQqJ4AC8fiWm%2FOutdoorRouter_OpenVEN-2-Advanced-Config.png?alt=media&#x26;token=ffda4375-4d54-45f1-a9ec-76340c0eb4d3" alt=""><figcaption><p>OpenVPN - Switch to advanced configuration</p></figcaption></figure>

&#x20;   5\. Go to the `Networking` tab and fill in the required fields. Usually, `dev` it is set to `tun` and not `tap` (*depend on VPN providers*). If there is a field ifconfig with an IP address, remove the address (*leave it blank*). Save the settings by clicking the `Save` button in the bottom right corner.

<figure><img src="https://1340417500-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvFoPQjE_9d9UfSmbIn%2F-M2H5xLiGjRWc1zs2RXq%2F-M2HB7Obqu6-noz-Fcko%2FOutdoorRouter_OpenVEN-3-Networking-Dev-Ifconfig.png?alt=media&#x26;token=62d37565-497e-4856-a8f9-cd202ef51fb6" alt=""><figcaption><p>OpenVPN - Networking Tab - Dev &#x26; Ifconfig</p></figcaption></figure>

&#x20;6\. Go to the `Cryptography` tab. Select **`ca`** from the bottom `-- Additional Field --` and click the `Add` button. In the `ca` field, upload the `*.crt` file download from the VPN provider.

<figure><img src="https://1340417500-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvFoPQjE_9d9UfSmbIn%2F-M2H5xLiGjRWc1zs2RXq%2F-M2HDYo8pAGT86CH9-By%2FOutdoorRouter_OpenVEN-4-Cryptography-CA.png?alt=media&#x26;token=3a0ad007-5d8a-4636-8541-7245a24934ff" alt=""><figcaption><p>OpenVPN - Cryptography - CA</p></figcaption></figure>

&#x20;7\. Click Save & Apply to complete the OpenVPN configuration.

{% hint style="info" %}
The above configuration should be adjusted according to the VPN providers.
{% endhint %}


---

# 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://outdoor.router.works/ezr33/advanced/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.
