OpenVPN

OpenVPN in Ubuntu 18.04.

Create the Virtual Machine and connect to any SSH

So here I am going to install

Steps. Need to update Ubuntu Server and Upgrade Server.

shariq@vdubai:~$ sudo apt update -y

shariq@vdubai:~$ sudo apt upgrade -y

Downloading  OpenVPN

shariq@vdubai:~$ wget https://git.io/vpn -O openvpn-install.sh

assign the Setup permissions using the chmod command

shariq@vdubai:~$ chmod +x openvpn-install.sh

after the permission need to install the OpenVPN

so here need to allow the 1194 port

Inbound port rules

and
Outbound port rules

shariq@vdubai:~$ sudo ./openvpn-install.sh

If we need to add the clients

Run the this commands

shariq@vdubai:~$ sudo ./openvpn-install.sh

So, press 1 to add client or it’s up to you there is option according.

Here adding client.

So, these are the methods to create OpenVPN in Azure Cloud

Testing the created Client

Import the client to openvpn application

Now here I am connected to the OpenVPN Server

Here connection tested

Local Area Connection

Deleting Existing Client

shariq@vdubai:~$ sudo ./openvpn-install.sh

press 2 Revoke Existing Client

One thought on “OpenVPN

  • August 20, 2022 at 1:49 pm
    Permalink

    I think that is one of the such a lot important information for me. And i am happy reading your article. But wanna remark on few basic things, The website style is perfect, the articles is in point of fact nice : D. Good activity, cheers

    Reply

Leave a Reply

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