• Stars
    star
    247
  • Rank 164,117 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Secure Socket Tunneling Protocol (SSTP VPN) server for Linux.

sstp-server

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

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

  • High CPU usage, may not suitable for high thougthput applications.

License

The MIT License (MIT)

Copyright (c) 2014-2020 Shell Chen

More Repositories

1

asstosrt

Convert ASS subtitle to SRT format.
Python
271
star
2

moproxy

A transparent TCP to SOCKSv5/HTTP proxy on Linux written in Rust.
Rust
226
star
3

asstosrt-wasm

Convert ASS/SSA subtitles to SRT format with browser.
Rust
130
star
4

TinyKeePass

Another simple read-only KeePass Android app.
Java
46
star
5

accept-language-per-site

Firefox extension to change Accept-Language for different sites.
JavaScript
23
star
6

ssmanager

A python module managing large amount of running Shadowsocks server instances.
Python
22
star
7

miband4-export

Android app that export data from Xiaomi Mi Band 4
Kotlin
21
star
8

bt-tracker-helper

Help create firewall rules to detect BT connections.
Python
12
star
9

xkcd-password-generator-cn

The xkcd Password Generator for Chinese
Jupyter Notebook
9
star
10

espairsensor

Get air quality & CO2 data from SM300D2 & Senseair S8 with ESP32, and export as OpenMetrics (Prometheus exporter) via WiFi.
C
7
star
11

simplecc-rs

A simple Chinese Convert library (partially) compatible with OpenCC's dictionaries.
Rust
6
star
12

nsupdate-web

Simple DDNS (dynamic DNS) web API service with nsupdate.
Python
6
star
13

dnsnfset

Read IP addresses from dnstap, add them into nftables sets.
Rust
5
star
14

prideavatar

Generate your pride avatar on the browser
JavaScript
5
star
15

blescanner

Android library that facilitate Bluetooth Low Energy devices scanning w/ Kotlin coroutines APIs.
Kotlin
5
star
16

quproxy

A transparent QUIC to SOCKSv5 proxy on Linux, UDP/QUIC verison of moproxy.
Rust
4
star
17

COMP321-ISI

A simple shopping website implemented by Django.
Python
4
star
18

dotfiles

My personal dotfiles.
Shell
3
star
19

deterior

Markov chain-based infrastructure asset deterioration modelling tools
Python
3
star
20

chatlibre

ChatGPT Translate for Mastodon. Enable ChatGPT API-powered translation on your Mastodon instance.
Python
2
star
21

ahgroupbot

å•Šå•Šå•Š
Rust
2
star
22

moproxy-web

TypeScript
2
star
23

comp90045-compiler

The project for COMP90045 (1st sem, 2018): a toy compiler written in Haskell.
Haskell
2
star
24

EnvSensingClient

COMP491 Final year project - mobile environment sensing system
Java
1
star
25

EZShare

COMP90015 Distributed Systems - Project 1 & 2
Java
1
star
26

sms2smtp

Simple text messages to email forwarder for Android.
Java
1
star
27

gattkt

Android library that convert `BluetoothGattCallback` to ergonomic Kotlin coroutines API.
Kotlin
1
star
28

yassp-server

Manage Shadowsocks server instances via HTTP APIs.
Python
1
star
29

earlybird

Modify bird configs to implement delay-based metric for routing protocol.
Python
1
star
30

rust-fstrm

Rust implmentation of fstrm (https://github.com/farsightsec/fstrm)
Rust
1
star