How to install and Config SSL-VPN with SoftEther VPN

Background

L2TP over IPSec and PPTP are the most popular general purpose VPN tunneling protocol. However, PPTP is very vulnerable which does not recommend most cases and L2TP requires multiply ports including: 500, 1701, 1723, and 4500, Your vpn accessiblity is depends on client ISP/Firewall setup.

SSL-VPN setup VPN on TCP/UDP 443. This will gives such VPN service better firewall penetration, since TCP/UDP on 443 is usually accessible on most ISP/Firewall.

SoftEther VPN is a opensource project created by University of Tsukuba, it supports unlimited VPN sessions and various of VPN protocols including:

Installation

Verification

Configuration

1. Setup Admin Password

./vpncmd
Press 1 to select "Management of VPN Server or VPN Bridge"
Then press Enter without typing anything to connect to the localhost server
Then press Enter without inputting anything to connect to server by server admin mode. You will see:
VPN Server>_

Then use command below to change admin password:

VPN Server> ServerPasswordSet

2. Start the VPN server for configuration

# ./vpnserver start
or
# systemctl restart sslvpn.service

3. Create A Virtual Hub

VPN Server> HubCreate [VIRTUAL_HUB_NAME]

you will be asked to enter an administrator password for the new virtual hub

4. Enable SecureNAT in a Virtual Hub

5. Create VPN users

6. Enable OpenVPN function

7. Self-signed SSL certificate

8. Download configuration for OpenVPN Client

OpenVPN Client in MacOSX

TODO

References