Connecting from Linux with SoftEther 

 

This tutorial should work for the majority of Linux distributions (Debian, Ubuntu, CentOS, etc) 

Note that you should be root or use sudo to install the SoftEther Client.

 

1. Download SoftEther Client for Linux from here

 

Choose your CPU arhitecture: for 32bit go with Intel X86, for 64bit Intel x64 / AMD64

 

Uncompress the downloaded file: tar -xzvf softether-vpnclient-vx.xx-xxx

cd vpnclient and use the "make" command to start the installation and accept all the licence agreements (1)

After successful install start the vpnclient: ./vpnclient start

 

2. Download the configuration file for the server that you wish to connect (from Account - Download)

Connect to your softether vpnclient with: ./vpncmd and add a new nic named se

#./vpncmd
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.22 Build 9634 (English)
Compiled 2016/11/27 15:23:56 by yagi at pc30
Copyright (c) SoftEther Project. All Rights Reserved.
By using vpncmd program, the following can be achieved.
1. Management of VPN Server or VPN Bridge 2. Management of VPN Client 3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)
Select 1, 2 or 3: 2
Specify the host name or IP address of the computer that the destination VPN Client is operating o n. If nothing is input and Enter is pressed, connection will be made to localhost (this computer). Hostname of IP Address of Destination: localhost
Connected to VPN Client "localhost".
VPN Client>remoteenable RemoteEnable command - Allow Remote Management of VPN Client Service The command completed successfully. VPN Client>niccreate NicCreate command - Create New Virtual Network Adapter Virtual Network Adapter Name: se The command completed successfully.

 

3. Import the desired SoftEther VPN server configuration. We will use de.falkenstein.anonymousvpn.eu.vpn as an example

VPN Client>accountimport
AccountImport command - Import VPN Connection Setting
Import Source File Name: /home/de.falkenstein.anonymousvpn.eu.vpn
The VPN Connection Setting "de.falkenstein.anonymousvpn.eu" was imported.
The command completed successfully.

 

4. Set your username and password. Connect the vpnclient to the server and check result. 

VPN Client>AccountUsernameSet
AccountUsernameSet command - Set User Name of User to Use Connection of VPN Connection Setting
Connecting User Name: username
The auth type for this VPN Connection Setting is currently set as password authentication. After c hanging the user name, you must use the AccountPasswordSet command to reset the password. The command completed successfully.
VPN Client>AccountPasswordSet AccountPasswordSet command - Set User Authentication Type of VPN Connection Setting to Password Au thentication
Please enter the password. To cancel press the Ctrl+D key. Password: **************** Confirm input: ****************
Specify standard or radius: standard The command completed successfully.
VPN Client>accountconnect de.falkenstein.anonymousvpn.eu
AccountConnect command - Start Connection to VPN Server using VPN Connection Setting The command completed successfully.
VPN Client>accountstartupset de.falkenstein.anonymousvpn.eu AccountStartupSet command - Set VPN Connection Setting as Startup Connection The command completed successfully.

 

5. Enable ip forward in "/etc/sysctl.conf" net.ipv4.ip_forward=1 and load it by: #sysctl -p

6. Use the dhclient to get an IP from the server's DHCP: #dhclient vpn_se

 

At this point you should be connected to the VPN server and have a working VPN connection. 

If you have any problems please use our forum to get support.