SoftEther Fedora

SoftEther VPN Fedora

How to setup SoftEther VPN connection on Linux Fedora?
1SoftEther VPN Client installation process on Fedora require advanced linux skills.
Download SoftEther VPN Client from the official site selecting your platform and CPU: http://www.softether-download.com/en.aspx?product=softether

SoftEther VPN connection on Mint - Step 1
* current selection is for linux 64bit OS.

After downloading, update the repositories using the following command:
dnf check-update
dnf update 
Make sure these packages are installed:
1. yum install make automake gcc gcc-c++ kernel-devel
2. dnf install @development-tools
2Uncompress downloaded file to a local folder, run "make" command and accept all your licence agreements. When the process is completed, start the vpnclient service as root:
#sudo ./vpnclient start
3Create your connection setting using "myvpnfile.vpn" using the following command:
nano myvpnfile.vpn
Copy this text to your nano editor and save the file and exit the nano editor:
declare root
{
bool CheckServerCert false
uint64 CreateDateTime 0
uint64 LastConnectDateTime 0
bool StartupAccount false
uint64 UpdateDateTime 0
declare ClientAuth
{
uint AuthType 1
string Username YOUR VPN USER-NAME
}
declare ClientOption
{
string AccountName rapidvpn1
uint AdditionalConnectionInterval 1
uint ConnectionDisconnectSpan 0
string DeviceName se
bool DisableQoS false
bool HalfConnection false
bool HideNicInfoWindow false
bool HideStatusWindow false
string Hostname VPN SERVER-IP
string HubName default
uint MaxConnection 1
bool NoRoutingTracking false
bool NoTls1 false
bool NoUdpAcceleration false
uint NumRetry 4294967295
uint Port 443
uint PortUDP 0
string ProxyName $
byte ProxyPassword $
uint ProxyPort 0
uint ProxyType 0
string ProxyUsername $
bool RequireBridgeRoutingMode false
bool RequireMonitorMode false
uint RetryInterval 15
bool UseCompress false
bool UseEncrypt true
}
}
You must change VPN SERVER-IP with your assigned server IP and YOUR VPN USER-NAME with your assigned username.
4Now, connect to your local vpn client with "vpncmd" and crate your local NIC named "se":
#vpncmd
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).
Select Option "2".
Here just hit enter key and automatically localhost will be set.
Hostname of IP Address of Destination: localhost
Connected to VPN Client "localhost".
Now enter "remoteenable":
VPN Client>remoteenable
RemoteEnable command - Allow Remote Management of VPN Client Service
The command completed successfully.
Enter "niccreate" and type "se" for Virtual Network Adapter Name:
VPN Client>niccreate
NicCreate command - Create New Virtual Network Adapter
Virtual Network Adapter Name: se
The command completed successfully.
5Import your created configuration:
VPN Client>accountimport
AccountImport command - Import VPN Connection Setting
Import Source File Name: /home/myvpnfile.vpn
The VPN Connection Setting "myvpnfile" was imported.
The command completed successfully.
6Setup username and password for your RapidVPN imported connection:
VPN Client>AccountUsernameSet rapidvpn1
AccountUsernameSet command - Set User Name of User to Use Connection of VPN Connection Setting
Connecting User Name: rapidvpn_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 rapidvpn1 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: radius The command completed successfully.
VPN Client>accountconnect rapidvpn1 AccountConnect command - Start Connection to VPN Server using VPN Connection Setting The command completed successfully.
VPN Client>accountstartupset rapidvpn1 AccountStartupSet command - Set VPN Connection Setting as Startup Connection The command completed successfully.
7Open another Terminal and make your vpn adapter to get ip address from RapidVPN NAS:
#sudo dhclient vpn_se

Now enter the following command and change the value of "ip_forward" from 0 to "1":
nano /proc/sys/net/ipv4/ip_forward

save the file and exit and load with command:
#sysctl -p
8 To connect VPN, go back to your previous terminal and type the following command:
VPN Client>accountstatusget rapidvpn1