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.

Requirements

  • Python >= 3.4.4

  • pppd

For Python 2.7, use v0.4.x

Install

Install from PyPI:

# pip install sstp-server

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

Install from GitHub:

# pip install git+https://github.com/sorz/sstp-server.git

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

Usage

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

A example:

name sstpd
require-mschap-v2
nologfd
nodefaultroute
ms-dns 8.8.8.8
ms-dns 8.8.4.4

Start server:

sudo sstpd -p 443 -c cert.pem -k key.pem --local 10.0.0.1 --remote 10.0.0.0/24

Or:

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.

License

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.

Source Distribution

sstp-server-0.5.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sstp_server-0.5.0-cp36-cp36m-manylinux1_x86_64.whl (31.1 kB view details)

Uploaded CPython 3.6m

File details

Details for the file sstp-server-0.5.0.tar.gz.

File metadata

  • Download URL: sstp-server-0.5.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sstp-server-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a4cd8356bbb51e37b8f38c327a738dcede21bb3ca58b07f566a55c926403e3a2
MD5 2860a85bf0a3497e9037bf4bc7eeac39
BLAKE2b-256 6802bdc45b82c5e9294dc5710854624e60ff7ab650af7b9ecffbb86f0e3c5383

See more details on using hashes here.

File details

Details for the file sstp_server-0.5.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sstp_server-0.5.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 994af770aea99e6afc0158995ee6b8bcb51eb99c49be4d339ac6a76388286b21
MD5 e55170bad32a3473c9fa02b3301902f7
BLAKE2b-256 a49d1edc667e69e6f6424805d205dae16f51c564a5135ec7fd53d6e758c54e3b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page