Skip to main content

Secure Socket Tunneling Protocol (SSTP) VPN server.

Project description

PyPI version Build Status

A Secure Socket Tunneling Protocol (SSTP) server implemented by Python.


  • Python >= 3.4.4
  • pppd

For Python 2.7, use v0.4.x


Install from PyPI:

# pip install sstp-server

Please ensure your pip >= 9.0.1 to get correct version.

Install from GitHub:

# pip install git+

Arch Linux user may install sstp-server package from AUR.


Create pppd configure file /etc/ppp/options.sstpd,

A example:

name sstpd

Start server:

sudo sstpd -p 443 -c cert.pem -k key.pem --local --remote


sudo sstpd -f /path/to/sstpd-server.ini -s site1

Known Issues

  • Not implemented Crypto Binding yet. Potential MITM attack risk exists.
  • High CPU usage, may not suitable for high thougthput applications.


The MIT License (MIT)

Copyright (c) 2014-2017 Shell Chen

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sstp-server, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size sstp_server-0.5.1-cp36-cp36m-manylinux1_x86_64.whl (31.0 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size sstp-server-0.5.1.tar.gz (13.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page