sudo apt-get install build-essential ppp-dev libevent-dev libssl-dev autoconf libtoolgit clone https://gitlab.com/eivnaes/sstp-client.git sstp-client-source
cd sstp-client-source./autogen.sh
make -j4
sudo make installsudo 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-clientagain. -
You may also need to install
ppppackagesudo apt-get install ppp