This article will help you learn how to install and configure OpenVPN on Ubuntu OS.
To set up a VPN connection on Ubuntu, follow the steps:
- Install or update the Network Manager plugin for OpenVPN if it is not already installed on the system. Start the terminal (Ctrl+Alt+T) and run the command in it.
sudo apt-get install network-manager-openvpn-gnome
- Confirm the installation of the package and dependencies with the "Y" key.
- Additionally, download the OpenVPN configuration file (client01-tcp.ovpn) from the provided link: http://server_IP:port/xxxxxxxxxx/, you have received this link via email after activating the service.
- You can also find VPN access information in your client area:
- In your client area, find the VPN Servers tab.
- Click Manage.
- In the Access section, find the OpenVPN settings.
- Download access information there.
- Next, import the downloaded configuration.
- Open the network connection settings in the upper right corner of the desktop and click Settings.
- In the window that opens, click + to add a new VPN configuration.
- Select Import from file.
- Select a previously saved configuration file client**-tcp.ovpn or client**-udp.ovpn.
- Enter the name of the connection, for example, "BIGBANG VPN" and click Add to save the created VPN connection. VPN connection successfully configured.
- To connect, slide the switch to the right.
- You can also quickly connect to a VPN by clicking in the upper right corner of your desktop, in the VPN Connection and Connect menu that opens.
- If the connection is successful, you will see the VPN icon in the top status bar.