sudo apt-get install build-essential ppp-dev libevent-dev libssl-dev autoconf libtool
git clone https://gitlab.com/eivnaes/sstp-client.git sstp-client-source
cd sstp-client-source
./autogen.sh
make -j4
sudo make install
sudo sstpc --user username --password p@$$W0rd --cert-warn --log-level 5 --log-stderr 1.2.3.4:443 require-mschap-v2 noauth debug
-
If you encountered following error:
Required library libevent not found
, you must install libevent manually:sudo apt-get install pkg-config
git clone https://github.com/libevent/libevent.git libevent
./configure make -j4 sudo make install sudo ldconfig
Then re-run the commands for installing
sstp-client
again. -
You may also need to install
ppp
packagesudo apt-get install ppp