Hi There
Here some nice howto to get SSTP client for Linux to run:
1)Download deb or rpm or compile yourself:
http://sstp-client.sourceforge.net/
2)Install deb or rpm or binary
(in my case install deb for ubuntu)
dpkg -i libsstp-client0_1.0.9_amd64.deb dpkg -i sstp-client_1.0.9_amd64.deb
3)Configure ppp manager
sudo su
3.1) you may want your targets reachable over your sstp tunnel, therefore we need to setup some routes
vim /etc/ppp/ip-up.d/route
#!/bin/bash NET="1.1.1.1/24 x.x.x.x/24" GW="192.168.x.5" if (ip addr show | grep -q $GW) then for PREF in $NET do route add -net $PREF gw $GW done fi
chmod 755 /etc/ppp/ip-up.d/route
3.2) we need to store your credentials in chap-secrets file
vim /etc/ppp/chap-secrets bla-user.name * passwordtopsecret
3.3)we need to add a ppp peer
vim /etc/ppp/peers/youpeername
# # Put this file in /etc/ppp/peers/sstp-test, the name should be the same as # for remotename, linkname, and ipparam. Update the url for the server as a part # of the pty statement, and finally update your username. # # Make sure your user 'kendo' have an appropriate entry in /etc/ppp/chap-secrets. # Example: # #client server secret IP addresses # kendo * xxxxxxx * # 'DOMAIN\\kendo' * xxxxxxx # # Connect to sstp-test peer: # sudo pon sstp-test # remotename fqdn-of-your-vpn-peer linkname fqdn-of-your-vpn-peer ipparam fqdn-of-your-vpn-peer pty "sstpc --save-server-route --cert-warn --ipparam fqdn-of-your-vpn-peer --log-level 0 --nolaunchpppd fqdn-of-your-vpn-peer" name bla-user.name plugin sstp-pppd-plugin.so sstp-sock /var/run/sstpc/sstpc-fqdn-of-your-vpn-peer usepeerdns #require-mppe require-mschap-v2 noauth lock refuse-pap refuse-eap refuse-chap refuse-mschap nobsdcomp nodeflate persist # Uncomment this if you want additional debug in your /var/log/messages # debug
4)fire it up
pon youpeername
Have fun!