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
nologfd
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 attack.

License

The MIT License (MIT)

Copyright (c) 2014-2015 Sorz

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.2.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

sstp_server-0.2.0-py2-none-any.whl (10.9 kB view hashes)

Uploaded Python 2

Supported by

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