Skip to content

SSTP

SSTP carries PPP over a TLS connection and uses MS-CHAPv2 authentication. Yuhaiin supports an outbound node and a rootless authenticated inbound, both backed by the userspace IP stack.

  1. SSTP server hostname and optional port.
  2. Username/password accepted by the server.
  3. A TLS certificate the client can validate; optional inner MTU.

The following is a template, not a working server account. Replace every hostname, address, key and credential with values from your server operator. The typed chain format is for the current backend; normally use Destinations → Nodes instead of pasting JSON into the Web UI.

{
"id": "example-node",
"name": "SSTP example",
"origin": "manual",
"group": "examples",
"enabled": true,
"chain": [
{
"type": "sstp",
"sstp": {
"gateway": "vpn.example.com",
"username": "EXAMPLE_USER",
"password": "REPLACE_ME",
"insecure_skip_verify": false
}
}
]
}
  • SSTP is distinct from native SoftEther SSL-VPN and OpenVPN.
  • MS-CHAPv2 is a legacy authentication method; protect credentials and use unique passwords.
  • The embedded tunnel does not by itself modify your OS routing table.
  1. If authentication fails, verify the gateway’s SSTP compatibility mode, not just that it advertises ‘SSL VPN’.
  2. Check hostname/certificate trust when TLS negotiation fails.
  3. If connection succeeds but routing fails, inspect destination selection and the local inbound.

Check the outbound node tutorial and network diagnostics. For exact fields, behavior and test coverage see the backend source. Avoid sharing saved credentials or full node exports in public support requests.

The server also supports rootless SSTP entry with independent user/device credentials. Each client has an in-memory lightweight stack; no host TUN or route installation is needed. SSTP must terminate its own TLS for crypto binding, so an external proxy must use TCP/TLS passthrough. This inbound currently supports IPv4, not IPv6 or Ethernet bridging. Create or rotate the device secret so its SSTP verifier exists, permit its owner on the inbound, and use the login name plus that secret for MS-CHAPv2. A management login password is not a proxy credential. See Inbound credentials and the backend SSTP server guide.