• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Debian

Installing OpenVPN on a Debian VPS

How VPS by How VPS
November 1, 2019
in Debian
0
0
SHARES
34
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Introducing the OpenVPN protocol
  2. OpenVPN Access Server (OpenVPN-AS)
  3. Accessing VPS as root
  4. Updating your system
  5. Installing OpenVPN-AS
  6. Configuration and administration over the web
  7. Creating new users
  8. Want to contribute?


Introducing the OpenVPN protocol

OpenVPN is an open source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections. It uses SSL/TLS for key exchange.

This tutorial explains how to setup your own VPN server in no more than ten minutes, even if you have never used OpenVPN.

OpenVPN Access Server (OpenVPN-AS)

OpenVPN Access Server is a set of installation and configuration tools that simplify the rapid deployment of a VPN remote access solution.

We are going to use OpenVPN-AS to generate SSL certificates and authenticate users in a user-friendly manner.

Accessing VPS as root

Use the following command to manage your VPS as root. You can find the root password on your Vultr account panel.

ssh [email protected]

Change 12.34.56.78 to the IP address of your VPS. You will be asked for the fingerprint of the server. Accept it, then enter the password for the root user. It is highly recommended to set a new password for the root user. This operation is made easy with the following command:

passwd

You will be asked twice for the new password. Remember to use this password if you need to access the server in future.

Updating your system

Update your system libraries and applications by executing these commands. The first one updates the list of repositories, and the second performs the actual component update.

apt-get update
apt-get upgrade

Installing OpenVPN-AS

If you are running a 64-bit server, use these commands:

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-Debian7.amd_64.deb
dpkg -i openvpn-as-2.0.10-Debian7.amd_64.deb

If you are running a 32-bit server, use the following commands instead:

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-Debian7.i386.deb
dpkg -i openvpn-as-2.0.10-Debian7.i386.deb

OpenVPN-AS is now installed. Next, we need to set a password for the openvpn user. Run the following:

passwd openvpn

Configuration and administration over the web

The point of OpenVPN is that you can configure it without system administration experience. The administrator user interface will be located at the following URL.

https://12.34.56.78:943/admin

Once again, remember to substitute your IP address.

Creating new users

By default, OpenVPN-AS will authenticate each Linux user on your system. If you would like to add another user, use the command below.

adduser myusername

Running adduser will prompt for a password. The same password is used to access the OpenVPN client installer, which can be obtained at the following URL:

https://12.34.56.78:943

Remember to change the IP address. When visiting this URL, enter the new user details. Next, install the software on your client computer and you can begin using OpenVPN!

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

How to Install DokuWiki on Debian 9

Next Post

Monitor Debian Server Status with Munin

Next Post

Monitor Debian Server Status with Munin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet