Skip to main content

Secure Socket Tunneling Protocol (SSTP) VPN tunel server.

Project description

PyPI version

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

Requirements

  • Python 2.7
  • pppd
  • Linux kernel >= 2.6.0 with CONFIG_PPP_SYNC_TTY enabled.

Install

Install from PyPI:

# pip install sstp-server

Install from GitHub:

$ wget https://github.com/sorz/sstp-server/archive/master.zip
$ unzip master
$ cd sstp-server-master
# ./setup.py install

Usage

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

A example:

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

Start server:

# sstpd -p 443 -c cert.pem --local 10.0.0.1 --remote 10.0.0.0/24

Known Issues

Not yet implement Crypto Binding. It may be vulnerable by MITM attck.

License

The MIT License (MIT)

Copyright (c) 2014 Sorz

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.1.1
Filename, size File type Python version Upload date Hashes
Filename, size sstp-server-0.1.1.tar.gz (7.2 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