https://github.com/sorz/sstp-server
Secure Socket Tunneling Protocol (SSTP VPN) server for Linux.
https://github.com/sorz/sstp-server
python python-asyncio vpn-server
Last synced: 6 months ago
JSON representation
Secure Socket Tunneling Protocol (SSTP VPN) server for Linux.
- Host: GitHub
- URL: https://github.com/sorz/sstp-server
- Owner: sorz
- License: mit
- Created: 2014-09-21T18:04:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T17:26:38.000Z (over 3 years ago)
- Last Synced: 2025-03-28T21:01:47.536Z (7 months ago)
- Topics: python, python-asyncio, vpn-server
- Language: Python
- Homepage:
- Size: 209 KB
- Stars: 256
- Watchers: 29
- Forks: 101
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
sstp-server
============
|PyPI version|
|Build Status|A Secure Socket Tunneling Protocol (SSTP) server implemented by Python.
Requirements
------------* Python >= 3.4.4
* pppdFor Python 2.7, use v0.4.x
**Crypto Binding** is supported using *SSTP ppp API* plug-in
sstp-pppd-plugin.so from
`sstp-client `_.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.If you share the authentication with services other than SSTP
(for example, a RADIUS server that serve both a SSTP and WiFi
authentication), `crypto binding `_
is required to prevent MITM attacks. Crypto binding is enabled
automatically if `sstp-pppd-plugin.so` is avaliable, see
`#37 `_ for instructions.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.4Start server:
.. code:: bash
sudo sstpd -p 443 -c cert.pem -k key.pem --local 10.0.0.1 --remote 10.0.0.0/24
Or:
.. code:: bash
sudo sstpd -f /path/to/sstpd-server.ini -s site1
Known Issues
------------- High CPU usage, may not suitable for high thougthput applications.
License
-------
The MIT License (MIT)Copyright (c) 2014-2020 Shell Chen
.. |PyPI version| image:: https://img.shields.io/pypi/v/sstp-server.svg?style=flat
:target: https://pypi.python.org/pypi/sstp-server.. |Build Status| image:: https://travis-ci.org/sorz/sstp-server.svg?branch=master
:target: https://travis-ci.org/sorz/sstp-server