Metadata-Version: 2.0
Name: sstp-server
Version: 0.2.0
Summary: Secure Socket Tunneling Protocol (SSTP) VPN tunel server.
Home-page: https://github.com/sorz/sstp-server
Author: Sorz
Author-email: orz@sorz.org
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2 :: Only
Classifier: Topic :: Internet
Classifier: Topic :: Internet :: Proxy Servers
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: twisted
Requires-Dist: service-identity
Requires-Dist: argparse
Requires-Dist: py2-ipaddress

sstp-server
============
|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


.. |PyPI version| image:: https://img.shields.io/pypi/v/sstp-server.svg?style=flat
        :target: https://pypi.python.org/pypi/sstp-server


