Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

Install Softether VPN Client on Linux

Rumi, January 28, 2023January 28, 2023

Download and Install SoftEther VPN Client

Download SoftEther VPN Client software from their official website (https://www.softether.org).

Navigate to Download — > Download SoftEther VPN

Click on Download SoftEther VPN link.

  • Select Component : SoftEther VPN Client
  • Select Platform : Linux
  • Select CPU : Select the appropriate CPU from the Drop down

  • Click on the appropriate downloading link based on the version of the software.
  • Extract the downloaded tar.gz file. Here after I will refer the extracted folder as <vpnclient>
  • Navigate to <vpnclient>folder and open a terminal.
  • Execute make command and accept all license agreements by entering the number relevant to “Yes”. execute make command

After the completion of make command process, start the vpn client using:

sudo ./vpnclient start

Then you will get the following message.

vpn client successfully started

  • Before going to the configuration part please test the VPN client installation.
  • Execute ./vpncmd and select No 3 to enter to Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool) option.
  • Then run check command.
  • If all tests are passed, you are good to go.

  • check vpn client installation
  • Press Ctrl+C to terminate that process.

Configure SoftEther VPN Client

  • Execute ./vpncmd on a terminal opened inside the <vpnclient> folder.
  • Select 2 to enter to the Management of VPN Client option.
  • Press Enter when you are asked for Hostname of IP Address of Destination Then you will connect to the localhost .

Create a virtual interface to connect to the VPN server. eg : NicCreate vpn_se

NicCreate <name for virtual interface>

Create an VPN client account using the following command. In this case : AccountCreate CITeS

AccountCreate <name>

Then setup the account with your details.

Destination VPN Server Host Name and Port Number:<VPN IP address>:<SoftEther VPN Port>Destination Virtual Hub Name: <Hub Name>
Connecting User Name: <Username of LMS, Moodle, UoM_Wireless, UoM Email>
Used Virtual Network Adapter Name: <Created virtual interface’s name>
Specifically, Destination VPN Server Host Name and Port Number:svpn.mrt.ac.lk:443
Destination Virtual Hub Name: <Enter the appropriate one according to the following drop down>
Connecting User Name: <Username of LMS/ Moodle/ UoM_Wireless/ UoM Email>
Used Virtual Network Adapter Name: vpn_se (earlier created one)

You will get The command completed successfully message if you do it correctly.

Setup a password to the created account.

AccountPassword <account name>

Set a password and confirm it. SPECIALLY, for CITeS account you should give LMS/ Moodle/ UoM_Wireless/ UoM Email password For Specify standard or radius: input give radius

Now you can connect to the SoftEther VPN clinet account through the created account. For that issue: In this example: AccountConnect CITeS

AccountConnect <account name>
Issue the command AccountList and check the connectivity. If you get Connected status it is good to to for the next step. Account details

Add Route to the Routing Table. 

cat /proc/sys/net/ipv4/ip_forward

to check whether ip forward is enabled in your system.

If you get “1” go to step 2 .

If you get “0” , Navigate to /etc/sysctl.conf file and uncomment net.ipv4.ip_forward=1 line. Open a terminal and issue the command sysctl -p. Then check whether you get “1” for the first step.

Open a terminal and issue the command sudo ifconfig . Now you should see the virtual network adapter you created earlier. But you do not have an ip address for it.

Issue the command sudo dhclient <virtual_network_adapter_name>

According to the above example : sudo dhclient <vpn_vpn_se>

After few moments you will get an ip address from the VPN Server.

Then issue sudo netstat -rn command to see the routing table. You need to add a static route here.

sudo ip route add <gateway of the ip range of your virtual network 
adapter>/<subnetmask> via <ip you got for the virtual 
network adapter>

Except for the last route adding step all of the above steps are one-time work. Now you should be able to connect to the required server through the VPN Client. 

Ref: 
https://anuradha-15.medium.com/installation-guide-of-softether-vpn-client-on-linux-54a405a0ae2c
https://github.com/bgilmer77/SoftEther-VPN-Client-Setup-on-Linux/blob/master/softether-linux-howto.md

Administrations Configurations (Linux) SESofEthervpn

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

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

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker endian icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx pfsense php Postfix powerdns Proxmox RDP squid SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin XCP-NG zimbra

Topics

Recent Posts

  • Install Jitsi on Ubuntu 22.04 / 22.10 April 30, 2025
  • Key Lessons in life April 26, 2025
  • Create Proxmox Backup Server (PBS) on Debian 12 April 19, 2025
  • Add Physical Drive in Proxmox VM Guest April 19, 2025
  • Mount a drive permanently with fstab in Linux April 16, 2025
  • Proxmox 1:1 NAT routing March 30, 2025
  • Installation steps of WSL – Windows Subsystem for Linux March 8, 2025
  • Enabling Nested Virtualization In Proxmox March 8, 2025
  • How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE) March 3, 2025
  • Install Proxmox Backup Server on Debian 12 February 12, 2025

Archives

Top Posts & Pages

  • Install Jitsi on Ubuntu 22.04 / 22.10
©2025 Bots! | WordPress Theme by SuperbThemes