Softether with DNSMasq on Debian 11

What is SoftEther

A Free Cross-platform Multi-protocol VPN program, as an academic project from University of Tsukuba. It is a single server which support SSL-VPN (HTTPS) and 6 major VPN protocols (OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3 and EtherIP). I would like to also highlight the VPN over ICMP and VPN over DNS feature if you are inside a very strict network.

VPS Setup Guide

This post doesn’t use SecureNAT. 

On physical server, local bridge will perform better than SecureNAT
DO NOT enable both local bridge and SecureNAT at the same time. Packets will loop infinitly and make your server 100% CPU usage.
Requirement: VPS

Use a freshly installed Debian-11. My sample VM shape was:

  • Spec:RAM: 2048M
  • Disk Space: 20GB
  • CPU: 2vCPU
  • OS:Debian-11 bit (minimal)

Before installing SoftEther Server let us install some prerequisite.

apt-get update
apt-get install build-essential

Download Softether VPN for linux-

cd /opt
wget https://www.softether-download.com/files/softether/v4.43-9799-beta-2023.08.31-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
tar zxf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-x64-64bit.tar.gz
cd vpnserver
make

Read the Agreement and press 1 three times.

Read more

Share