On this page
Facts
What it is
Multi-protocol VPN server with its own SSL-VPN protocol
Since, by
2013 (SoftEther 1.0 in 2003), Daiyuu Nobori, University of Tsukuba
Transport
TLS over TCP, optional UDP; also ICMP and DNS modes
Encryption
TLS 1.0 to 1.3 in its own protocol
To the network it looks like
HTTPS; the server's certificate is self-signed by default
Usual port
TCP 443, 992, 1194, 5555; UDP 1194, 500, 4500
Comes as
SoftEther client settings; .ovpn file for OpenVPN mode
License
Apache 2.0 since January 2019, GPLv2 before
Latest release
SoftEtherVPN 5.2.5192, November 23, 2026
In Veli
Not supported
Versions and history
- 2003
SoftEther 1.0
Daiyuu Nobori writes SoftEther as a personal project and puts it on the web. The project's history says the Government of Japan made him stop giving it away; Mitsubishi Materials then sold it as SoftEther CA, and in 2004 he founded SoftEther Corporation.
- 2013
SoftEther VPN and VPN Gate
On 8 March the new SoftEther VPN, written as Nobori's master's thesis research at the University of Tsukuba, comes out as freeware, and VPN Gate opens the same day.
- 2014
Open source
On 4 January the source code is published under GPLv2. In April the VPN Gate paper by Nobori and Shinjo is presented at USENIX NSDI.
- 2019
Apache License 2.0
On 21 January the project moves from GPLv2 to Apache License 2.0, with the consent of every contributor of code.
- Now
Two editions
The Stable Edition still runs on Windows XP. The Developer Edition adds WireGuard, IPv6 in every tunnel and certificate login for all protocols. Neither speaks IKEv2.
How SoftEther VPN works
The name means Software Ethernet. The server runs Virtual Hubs: software layer-2 switches that learn MAC addresses like a hardware one. Clients join a hub through a virtual network adapter, so the tunnel carries whole Ethernet frames of up to 1,514 bytes, not just IP packets. A hub can be bridged to a real network card (Local Bridge), joined to a hub on another server (Cascade Connection), or given its own virtual NAT and DHCP server (SecureNAT) that hands out addresses with no network setup on the host.
The native SoftEther protocol is TLS, versions 1.0 to 1.3, over a TCP and UDP hybrid. Inside the TLS session the client starts with an HTTP request, POST /vpnsvc/connect.cgi labelled image/jpeg, whose body is a fixed watermark plus random bytes; the login and the session follow (ClientUploadSignature in Protocol.c). One session can spread over 1 to 32 parallel TCP connections.
Users log in anonymously, with a password, through RADIUS or a Windows domain, or with an X.509 certificate from a file or a smart card. A server behind NAT can accept clients without forwarded ports, clients can go through HTTP and SOCKS proxies, and there are VPN over ICMP and VPN over DNS modes that put the frames inside ping or DNS packets.
One server, many protocols
Besides its own protocol, the server imitates the servers of other protocols, so a device can connect with the client it already has. IKEv2 is not supported in either edition, which means the built-in clients of phones and Macs reach a SoftEther server through L2TP/IPsec or OpenVPN. SoftEther's help even asks for an IPsec pre-shared key of 9 characters or fewer, because of an old Android 4.0 bug; a key that short is weak.
In the Stable Edition the switches are vpncmd commands, here run on the server itself through its port 5555. The Developer Edition moved the OpenVPN and SSTP switches to ProtoOptionsSet. Users of L2TP, OpenVPN and SSTP log in as name@hub; without the hub part the default hub is used.
vpncmd localhost:5555 /SERVER /CMD IPsecEnable /L2TP:yes /L2TPRAW:no /ETHERIP:no /PSK:ex4mpl3 /DEFAULTHUB:VPN/L2TPRAW:yes would also accept L2TP without any encryption; leave it off.
vpncmd localhost:5555 /SERVER /CMD SstpEnable yesWindows checks that the certificate's name matches the address it dials: ServerCertRegenerate vpn.example.com makes a new self-signed one with that name, which clients must then trust.
vpncmd localhost:5555 /SERVER /CMD ListenerListA fresh install listens on 443, 992, 1194 and 5555.
SoftEther SSL-VPN
PortsTCP 443, 992, 1194, 5555
Who connectsSoftEther VPN Client, other SoftEther servers
NotesEthernet frames; every feature
OpenVPN
PortsThe same TCP ports, UDP 1194
Who connectsAny OpenVPN client
NotesA clone of the OpenVPN server;
OpenVpnMakeConfigwrites a sample client fileL2TP/IPsec
PortsUDP 500, 4500
Who connectsBuilt-in L2TP clients of Windows, macOS, iPhone and older Android
NotesIKEv1 with DH groups 1, 2 and 5; PAP or MS-CHAPv2
MS-SSTP
PortsTCP 443
Who connectsThe SSTP client built into Windows
NotesA clone of Microsoft's SSTP server
EtherIP, L2TPv3
PortsUDP 500, 4500
Who connectsRouters, such as Cisco IOS
NotesSite-to-site Ethernet bridging over IPsec
WireGuard
PortsUDP
Who connectsWireGuard clients
NotesDeveloper Edition only
VPN Gate
VPN Gate is an academic experiment of the Graduate School of the University of Tsukuba, opened together with SoftEther VPN on 8 March 2013. Volunteers run VPN Gate Server on their own computers, a central list server collects them, and users pick a relay from the list. Clients connect with the SoftEther protocol or with their devices' built-in L2TP/IPsec, OpenVPN and MS-SSTP clients. By 29 August 2013 there were about 3,000 active relays and 464,000 connections that day.
It is not an anonymity network. The project's 2014 paper says that each relay records connection logs and packet logs (TCP handshake headers, HTTP request headers, the first packets of UDP VPN sessions) so that a volunteer can hand them to the police if the relay is abused, and that there is no multi-hop relaying. A VPN Gate relay is a stranger's computer that sees where you connect.
What a filter sees
On the wire a SoftEther session is TLS to one of the server's ports, usually 443; the HTTP request that marks it as SoftEther is inside the encryption. What a filter can see is the shape: long-lived TLS connections, sometimes several in parallel to the same address, and the server's certificate. Out of the box the server makes its own self-signed certificate, with the machine's host name as the common name and valid until 2038 (SiGenerateDefaultCertEx in Server.c), which most public websites would not show.
The other protocols on a SoftEther server look exactly like themselves: L2TP/IPsec as IPsec on UDP 500 and 4500, OpenVPN as OpenVPN, SSTP as SSTP.
The case documented in most detail is VPN Gate in China, described by Nobori and Shinjo at USENIX NSDI 2014. The Great Firewall blocked the list server from 12 March 2013 and then added relay addresses from the public list; on 4 April 2013 81% of relays were unreachable from China. The paper describes blocking by IP address, fed by the list and by probing computers the authors call spies. After the project mixed innocent addresses into the list and let relays share a list of probes to ignore, 78.5% of relays were reachable from China on 19 June 2013 and 60 to 70% at the end of August. We know of no published study that fingerprints the SoftEther protocol itself.
Strengths and weaknesses
Strengths
- One server answers SoftEther, OpenVPN, L2TP/IPsec and SSTP clients, so most devices connect with what they already have.
- A layer-2 tunnel: whole Ethernet segments, bridges to a real network and site-to-site links.
- Works from behind NAT without port forwarding, and through HTTP and SOCKS proxies.
- Open source under Apache 2.0; the server runs on Windows, Linux, FreeBSD, Solaris and macOS.
Weaknesses
- No IKEv2, so the built-in clients of phones fall back to L2TP/IPsec with old IKEv1 groups.
- The default self-signed certificate and fixed ports make a server stand out from an ordinary website.
- Two editions with different features: WireGuard, full IPv6 and certificate login for every protocol are only in the Developer Edition.
- VPN Gate relays keep logs and are run by strangers.
- Many parts to secure at once: hubs, bridges, listeners and several protocols.
Sources
- SoftEther VPN repository (Developer Edition)
- SoftEther VPN: specification
- SoftEther VPN source: Protocol.c, the client handshake
- SoftEther VPN Project: about and history
- SoftEther VPN becomes open source (2014)
- Declaration of license switch from GPLv2 to Apache License 2.0 (2019)
- VPN Gate: about the project
- Nobori and Shinjo: VPN Gate, USENIX NSDI 2014