{"id":20183290,"url":"https://github.com/sorz/sstp-server","last_synced_at":"2025-04-04T22:02:28.570Z","repository":{"id":21008194,"uuid":"24298845","full_name":"sorz/sstp-server","owner":"sorz","description":"Secure Socket Tunneling Protocol (SSTP VPN) server for Linux.","archived":false,"fork":false,"pushed_at":"2022-02-16T17:26:38.000Z","size":214,"stargazers_count":256,"open_issues_count":14,"forks_count":101,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-28T21:01:47.536Z","etag":null,"topics":["python","python-asyncio","vpn-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sorz.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-21T18:04:39.000Z","updated_at":"2025-03-18T07:15:35.000Z","dependencies_parsed_at":"2022-07-14T19:00:59.067Z","dependency_job_id":null,"html_url":"https://github.com/sorz/sstp-server","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorz%2Fsstp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorz%2Fsstp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorz%2Fsstp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorz%2Fsstp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorz","download_url":"https://codeload.github.com/sorz/sstp-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256103,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-asyncio","vpn-server"],"created_at":"2024-11-14T02:45:02.697Z","updated_at":"2025-04-04T22:02:28.551Z","avatar_url":"https://github.com/sorz.png","language":"Python","readme":"sstp-server\n============\n|PyPI version|\n|Build Status|\n\nA Secure Socket Tunneling Protocol (SSTP) server implemented by Python.\n\n\nRequirements\n------------\n\n* Python \u003e= 3.4.4\n* pppd\n\nFor Python 2.7, use v0.4.x\n\n**Crypto Binding** is supported using *SSTP ppp API* plug-in \nsstp-pppd-plugin.so from\n`sstp-client \u003chttp://sstp-client.sourceforge.net/\u003e`_.\n\nInstall\n-------\n\nInstall from PyPI:\n::\n\n    # pip install sstp-server\n\nPlease ensure your pip \u003e= 9.0.1 to get correct version.\n\nInstall from GitHub:\n::\n\n    # pip install git+https://github.com/sorz/sstp-server.git\n\n\nArch Linux user may install\n`sstp-server \u003chttps://aur.archlinux.org/packages/sstp-server/\u003e`_\npackage from AUR.\n\nIf you share the authentication with services other than SSTP\n(for example, a RADIUS server that serve both a SSTP and WiFi\nauthentication), `crypto binding \u003chttps://docs.microsoft.com/en-us/openspecs/\nwindows_protocols/ms-sstp/89a68310-0b1e-451b-af9c-0c9ce500bb2e\u003e`_\nis required to prevent MITM attacks. Crypto binding is enabled\nautomatically if `sstp-pppd-plugin.so` is avaliable, see\n`#37 \u003chttps://github.com/sorz/sstp-server/pull/37\n#issuecomment-761107420\u003e`_ for instructions.\n\nUsage\n-----\n\nCreate pppd configure file `/etc/ppp/options.sstpd`,\n\nA example:\n::\n\n        name sstpd\n        require-mschap-v2\n        nologfd\n        nodefaultroute\n        ms-dns 8.8.8.8\n        ms-dns 8.8.4.4\n\nStart server:\n\n.. code:: bash\n\n    sudo sstpd -p 443 -c cert.pem -k key.pem --local 10.0.0.1 --remote 10.0.0.0/24\n\nOr:\n\n.. code:: bash\n\n    sudo sstpd -f /path/to/sstpd-server.ini -s site1\n\nKnown Issues\n------------\n\n- High CPU usage, may not suitable for high thougthput applications.\n\nLicense\n-------\nThe MIT License (MIT)\n\nCopyright (c) 2014-2020 Shell Chen\n\n\n.. |PyPI version| image:: https://img.shields.io/pypi/v/sstp-server.svg?style=flat\n        :target: https://pypi.python.org/pypi/sstp-server\n\n.. |Build Status| image:: https://travis-ci.org/sorz/sstp-server.svg?branch=master\n        :target: https://travis-ci.org/sorz/sstp-server\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorz%2Fsstp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorz%2Fsstp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorz%2Fsstp-server/lists"}