# OpenVPN Manual for Ubuntu

##### OpenVPN Installation, Configuration and Execution Manual on Ubuntu 18.04.2 LTS

### **Introduction:**

<div id="bkmrk-this-document-will-p"><div><div>This document will present, step by step, the installation, configuration and execution of OpenVPN on the Ubuntu operating system.</div></div></div>**Preparation:**

<div id="bkmrk-before-starting-the-"><div><div>Before starting the installation and configuration of OpenVPN on your computer, you should check the following point:</div><div>Have an account for the configuration of OpenVPN, which is requested from the Management Office of the Computer Network.</div></div></div>### **Installation:**

To use *OpenVPN* just run the following command “**$ sudo apt-get install network-manager-openvpn-gnome**”.

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1705)

<div id="bkmrk-when-the-installatio"><div><div><div><div><div><div><div><div>  
</div><div>When the installation is complete, restart the network-manager service.  
</div></div></div></div></div></div></div><div>![](https://helpdesk.deec.uc.pt/api/v1/attachments/1706)  
</div><div>  
</div><div>  
</div></div></div>### **Configuration:**

For configuration, you must download [ISR.ovpn](https://kb.deec.uc.pt/attachments/6?open=true). Use the mouse to go to the network manager icon to go to “***Edit Connections …***”, then “***Add a new connection***” and create a connection with “***Import a saved VPN configuration…***”.

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1707)

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1708)

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1709)

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1710)

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1711)

Then select the ISR.ovpn file and enter the IT credentials. If you want, you can change the Connection name to an easier name to identify the ISR VPN.

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1712)

![](https://helpdesk.deec.uc.pt/api/v1/attachments/1713)

 **Execution:**

<div id="bkmrk-finally-select-the-n"><div><div>Finally select the network manager icon, go to VPN Connections and select the created VPN.</div><div>![](https://helpdesk.deec.uc.pt/api/v1/attachments/1714)  
</div><div>  
</div><div>![](https://helpdesk.deec.uc.pt/api/v1/attachments/1715)</div></div></div>