GithubHelp home page GithubHelp logo

wataash / sstp-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reliablehosting/sstp-client

0.0 2.0 0.0 3 MB

A client implementation of Secure Socket Tunneling Protocol (SSTP) for Linux / Mac OS-X that allows remote access via SSTP VPN to Microsoft Windows 2008 Server.

License: GNU General Public License v2.0

Shell 39.90% C 32.76% Makefile 23.46% Tcl 0.15% M4 2.23% C++ 0.86% Roff 0.63%

sstp-client's Introduction

SSTP-CLIENT
------------------------------------------

Background:
SSTP is Microsofts Remote Access Solution (RAS) for PPP over SSL. It can be used
instead of PPTP or L2TP, and is only available with Windows Vista/7 connecting to
a Windows 2008 Server. For further information on SSTP check out wikipedia's 
article on Secure Socket Tunneling Protocol.

http://en.wikipedia.org/wiki/Secure_Socket_Tunneling_Protocol


What is SSTP-CLIENT:
SSTP-CLIENT is an SSTP client for Linux. It can be used to establish a SSTP 
connection to a Windows 2008 Server. This software is similar commandline 
and configuration as the pptp-client software.


Features:
* Establish a SSTP connection to a remote Windows 2k8 server.
* Async PPP support (most distributions provide this).
* Similar command line handling as pptp-client for easy integration.
* IPv6 support
* Basic HTTP Proxy support
* Certficate handling and verification
* SSTP plugin integration with NetworkManager v0.9 (available as separate package)


SSTP-CLIENT on Ubuntu:
It's pretty simple to integrate sstp-client into the Ubuntu / Debian distribution
distribution. An example script is provided in support/peer-sstp-example.txt

- Specify your MSCHAP password in /etc/ppp/chap-secrets
  Example Entry:
     SSTP-TEST\\JonDoe  sstp-test   'testme1234!'    *
- Create a connect script in /etc/ppp/peers/sstp-test, similar to the example 
  provided in ./support. Swap out user-name as appropriate
- Start the script as: pon sstp-test


Future:
In the future we want to provide a SSTP server functionality as well. Code have
been refactored such that this goal can be accomplishable. Also check out the 
TODO file.


Help Wanted:
I need help with various features, please drop me an email if you have some
bandwidth to work on any of this. The TODO file should provide you with a
list of wanted features. 


Compiling:
To compile this on your favorite distribution make sure you have the development 
tools and headers available. This project depends on the PPP package, libevent and
OpenSSL.

For example:
  sudo apt-get install ppp-dev
  sudo apt-get install libevent-dev
  sudo apt-get install libssl-dev


Important Links:
 * How to setup SSTP on windows 2008 server, technotes from Microsoft
   http://technet.microsoft.com/en-us/library/cc731352%28WS.10%29.aspx

 * The SSTP specification:
   http://msdn.microsoft.com/en-us/library/cc247338%28v=prot.10%29.aspx
 
 * A reference to the pptp-client software, this has much in common with 
   the SSTP protocol. http://pptpclient.sourceforge.net/
 
 * OpenSSL Examples:
   http://www.rtfm.com/openssl-examples/

 * MicroTik have a working server and client version in the router software (as of March 2010).

 * SSToPer is another SSTP client, but doesn't support Async HDLC frames


Other related software required to get this working:
 * OpenSSL  (http://www.openssl.org)
 * PPPD     (http://ppp.samba.org)
 * Libevent (monkey.org/~provos/libevent)

sstp-client's People

Contributors

axot avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.