# Ubiquiti EdgeRouter

This tutorial will explain configure the EdgeRouter as an OpenVPN client. This should only be done when a Pritunl Link IPsec configuration is not possible. Information on configuring the [**Ubiquiti EdgeRouter**](/kb/vpn/tutorials/ubiquiti-edgerouter-tutorial.md) with IPsec can be found in the *IPsec Peering* section. The EdgeRouter has no hardware offloading support for OpenVPN and performance with OpenVPN will be significantly lower then using hardware offloaded IPsec. The expected performance will likely be less then 10 megabits/sec for most configurations. It is recommend to use AES 128bit with SHA-1 in the Pritunl server settings for best performance.

A Pritunl plugin is available for the EdgeRouter to simplify configuration. Download the plugin package from the [**pritunl-edgemax**](https://github.com/pritunl/pritunl-edgemax/raw/master/pritunl-edgemax.tar.gz) repository. This will contain a `tar.gz` file that can be uploaded to the EdgeRouter.\
To do this open the *Wizards* tab in the EdgeRouter web console and select the *+* icon next to *Features Wizards* on the left sidebar. Then upload the plugin package and click *Save*.

![](/files/5Dzgu1P08twZnocBQT2K)

Next click *Add New* in the Pritunl plugin wizard and set the *Interface* to `vtun0`. Then in the Pritunl web console create a user for the EdgeRouter in the *Users* tab and click the link button on the left side of the user to get the user links. Copy the temporary URI link for Pritunl Client and paste it in the *Profile URI Link* field in the EdgeRouter. Once saved the Pritunl plugin will download the profile and automatically configure the EdgeRouter to connect to the OpenVPN server.

![](/files/SmRTarwIhn1n4AIDAY40)


---

# 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.pritunl.com/kb/vpn/tutorials/ubiquiti-edgerouter-tutorial.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.
