How to install and configure Softether VPN?

1368
views

Interested in Softether VPN installing? We prepared an article on installing and configuring Softether VPN!

Before we start talking about how to raise vpn – Softether VPN, maybe you will decide to try other options of personal VPN servers:

  • How to set up and configure VPN Streisand
  • Algo VPN
  • OpenVPN
  • L2TP/IPsec

Why Softether VPN?

Softether VPN has a number of advantages over other scripts and VPN installers on the server:

  • Easy and clear installation on the server
  • Managing VPN settings using a special client program installed on a personal computer
  • The VPN fine-tuning

Creating VPN L2TP/IPsec server

As servers are provided by hosting providers, you need first to sign up for them to know who they are dealing with.

Signing up at hosting provider

The DigitalOcean provider is the most stable and efficient and has the most favourable tariffs. Click the link (get 10$ for free)  and sign up:

  • Enter your email address
  • Create and enter a passwordHow to install and configure Softether VPN
  • Click Create an Account

  • Get into your email account and complete registration by clicking a link in the confirmation emailHow to install and configure Softether VPN

The registration is completed. The next step is adding a bank card.

Adding a debit/credit card

After registration you have to enter payment information. You need to have a debit/credit card which is accepted for online payments.How to install and configure Softether VPN

Use English while entering the data.

Then, we move on to the third step – choosing and creating a server.

Creating a personal server

Let’s get down to how to create a personal server (you can also create a website or personal cloud drive like Yandex disk or DropBox on this server). The DigitalOcean provider calls them Droplet.

Click Create Droplet and then you will be redirected to the page for creating server configurations:

  • In Choose an image section choose the Ubuntu distribution (16.04×64 recommended)
  • Choose a tariff of 5$ per month or 0,007 cents per hour

    How to install and configure Softether VPN

  • Choose a datacenter region, which in the future will emulate your location (if you select the US city, the IP will be American). Moreover, it should be noted that the closer to the server you are, the faster you will load pages and files

    How to install and configure Softether VPN

  • At the end click CREATE to create Droplet (a server)

    Setting up your own VPN L2TP/IPsec server

    Creating takes 2-5 minutes. Then you will receive an email with the server’s IP address, login (usually root), and a password.

    You can also learn IP on the main Droplet control page.

Setting up your own VPN L2TP/IPsec server

Let’s move on to creating from a regular server in the VPN.

Creating a VPN server

Further we will tell how to connect to the server and what packages need to be installed to make it work!

Connecting to the server

In order to somehow manage the server (command line), you need a tool. In our case it’s the PuTTY utility, which you need to download and install.

After installation, run PuTTY, specify the IP address and click OPEN.

How to install and configure Softether VPN

  1. Then you need to enter your login (root)
  2. You are required to change the received password immediatelyHow to install and configure Softether VPN

    ATTENTION! WHILE ENTERING THE PASSWORD, THE LINE REMAINS EMPTY AS IF YOU ENTER NOTHING

    • password – “old”, current password
    • (Curent) UNIX password – confirm password
    • Enter new UNIX password – enter a new password
    • Retype new Unix password – confirm a new password

Configuring VPN L2TP/IPsec server

Update the Ubuntu server software:

sudo apt-get update && sudo apt-get upgrade -y

Install build-essential:

sudo apt-get install build-essential

Now you have to download Softether VPN to our DigitialOcean VPS server.

  1. Go to the softether website
  2. Copy the link to the latest version of the Softether VPN Server software. To get it, you need to set it in the menu:

    Select Component — Softether VPN Server
    Select Platform — Linux
    Select CPU Intel x64

    • How to install and configure Softether VPN?Then copy the link to the file
  3. On the server write the command wget and the copied link for downloading the archive  wget http://www.softether-download.com/files/softether/v-XXXXXXXXXXXX-linux-x64-64bit.tar.gz 

Unpack the archive:

 tar -xzf v-XXXXXXXXXXXX-linux-x64-64bit.tar.gz

Go to the vpnserver folder extracted from the archive:

cd vpnserver

Run the compilation with the command:

make

Agree with the license agreement, after which the compilation starts

When the compilation completes, exit the vpnserver folder:

cd ..

Move vpnserver to the / usr / local /

mv vpnserver/ /usr/local

Grant access rights that the system was reliable and less susceptible to hacking

chmod 600 * /usr/local/vpnserver/ && chmod 700 * /usr/local/vpnserver/vpncmd && chmod 700 * /usr/local/vpnserver/vpnserver

Now you need to add Softether VPN to autorun when starting the server or after rebooting. To do it, copy the data from this text file and paste it into the terminal

How to install and configure Softether VPN

Grant rights to the process:

chmod 755 /etc/init.d/vpnserver

Run the vpnerver process

update-rc.d vpnserver defaults
/etc/init.d/vpnserver start

Actually, all the work is done on the server, you need to download the Softether VPN manager on the operating system, select SoftEther VPN Server Manager in the Select Component section
How to install and configure Softether VPN

Setting up Softether VPN

Run SoftEther VPN Server Manager and create a new connection
How to install and configure Softether VPN?

Name the connection and specify the IP address of the server.
How to install and configure Softether VPN?If a firewall window appears, give a permission
How to install and configure Softether VPN?

Connect to the server
How to install and configure Softether VPN?

When connecting for the first time, enter the new password.

How to install and configure Softether VPN?

Select “Remote Access VPN Server” and click Next

How to install and configure Softether VPN?

Do not change anything in DNS, close the window
How to install and configure Softether VPN?

Enable device support selecting “Enable L2tP Function” (L2TP over IPSec)
How to install and configure Softether VPN?

Disable support for Azure services “Disable VPN Azure” and click OK
How to install and configure Softether VPN?

Create a new user
How to install and configure Softether VPN

Enter the user name and password and click OKHow to install and configure Softether VPN

Click on the new connection
How to install and configure Softether VPN

Go to VirtualNatHow to install and configure Softether VPN

Enable “SecureNAT” and exitHow to install and configure Softether VPN

Connection setup

Download and install Softether VPN Client

How to install and configure Softether VPN

Open Softether VPN Client and click Add VPN Connection to adjust the settings
How to install and configure Softether VPN

click Add VPN Connection again and specify:

  • Any setting name
  • IP address
  • User name and password

How to install and configure Softether VPN

and then click OK

Choose the VPN connection and connect to it!

How to install and configure Softether VPN

Any questions left? Post them in comments and tell whether you’ve succeed or failed.

That’s it! More useful articles and instructions can be found in the articles section and Linux Hacks. Stay with the Android + 1! It will be even more interesting!