Deploying OpenVPN through the Linode Marketplace
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
OpenVPN is a widely trusted, free, and open-source VPN (virtual private network) application that creates encrypted tunnels for secure data transfer between computers that are not on the same local network. Your traffic is encrypted by OpenVPN using OpenSSL. You can use OpenVPN to:
Connect your computer to the public Internet through a dedicated OpenVPN server. By encrypting your traffic and routing it through an OpenVPN server that you control, you can protect yourself from network attacks when using public Wi-Fi.
Connect your computer to services that you don’t want to expose to the public Internet. Keep your sensitive applications isolated on your servers' private networking and use OpenVPN to access them remotely.
Deploying the OpenVPN Marketplace App
The Linode Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager.
Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Compute Create page with the Marketplace tab pre-selected.
Under the Select App section, select the app you would like to deploy.
Fill out all required Options for the selected app as well as any desired Advanced Options (which are optional). See the Configuration Options section for details.
Complete the rest of the form as discussed within the Getting Started > Create a Linode.
Click the Create Linode button. Once the Linode has provisioned and has fully powered on, wait for the software installation to complete. If the Linode is powered off or restarted before this time, the software installation will likely fail. To determine if the installation has completed, open the Linode’s Lish console and wait for the system login prompt to appear.
Follow the instructions within the Getting Started After Deployment section.
Software installation should complete within 2-5 minutes after the Linode has finished provisioning.
Configuration Options
OpenVPN Options
Field | Description |
---|---|
The limited sudo user to be created for the Linode | This is the limited user account to be created for the Linode. This account has sudo user privileges. |
The password for the limited sudo user | Set a password for the limited sudo user. The password must meet the complexity strength validation requirements for a strong password. This password can be used to perform any action on your server, similar to root, so make it long, complex, and unique. |
The SSH Public Key that will be used to access the Linode | If you wish to access SSH via Public Key (recommended) rather than by password, enter the public key here. |
Disable root access over SSH? | Select Yes to block the root account from logging into the server via SSH. Select No to allow the root account to login via SSH. |
Your Linode API Token | Your Linode API Token is needed to create DNS records. If this is provided along with the subdomain and domain fields, the installation attempts to create DNS records via the Linode API. If you don’t have a token, but you want the installation to create DNS records, you must
create one before continuing. |
Subdomain | The subdomain you wish the installer to create a DNS record for during setup. The suggestion given is www . The subdomain should only be provided if you also provide a domain and API Token . |
Domain | The domain name where you wish to host your Wazuh instance. The installer creates a DNS record for this domain during setup if you provide this field along with your API Token . |
Your email address | This email address is added to the SOA record for the domain if you add one. |
General Options
For advice on filling out the remaining options on the Create a Linode form, see Getting Started > Create a Linode. That said, some options may be limited or recommended based on this Marketplace App:
- Supported distributions: Debian 11, Ubuntu 20.04 LTS
- Recommended minimum plan: All plan types and sizes can be used, though consider the amount of traffic needed for the VPN and select a plan with enough Outbound Network Transfer to handle the expected traffic.
Getting Started After Deployment
Access Details
OpenVPN Admin Interface:
- URL:
https://192.0.2.2:943/admin/
, where192.0.2.2
represents the IPv4 address of your new Compute Instance. For assistance locating the IP address, see Managing IP Addresses. - Username:
openvpn
- Password: See Obtaining the Admin Password below.
For more details on logging in to the OpenVPN admin interface for the first time (as well as changing the initial password), see the Access Server Admin Web UI First Login article within OpenVPN’s docs.
OpenVPN Client Interface:
URL:
https://192.0.2.2:943/
, where your Linode’s IPv4 address should take the place of the192.0.2.2
example address. The client interface includes links to download the OpenVPN client software for your computer.Note
The OpenVPN Access Server does not come with an HTTP (insecure) web server daemon. Hence, it is important that you usehttps
in the address. If you usehttp
in the address, the server does not respond.
Obtaining the Admin Password
The password for the main administrator account was automatically generated during the initial install process. To find this password, log in to your Compute Instance through the LISH Console. Your credentials should appear towards the end of the installation script.
Access Server Web UIs are available here:
Admin UI: https://192.0.2.0:943/admin
Client UI: https://192.0.2.0:943/
Login as "openvpn" with "password" to continue
(password can be changed on Admin UI)
+++++++++++++++++++++++++++++++++++++++++++++++
You can also obtain your password by running the following command:
cat /usr/local/openvpn_as/tmp/initial_ovpn_pass
Open a Connection to your VPN
To open a connection to your OpenVPN server from your computer, you’ll need to install the OpenVPN client software. Follow the instructions in the Client Software Installation section of our OpenVPN guide for a detailed explanation of how to install and use this software.
NoteCurrently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.
More Information
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on