Created
November 4, 2022 03:37
-
-
Save information-security/290bbf8ef851269b540e9e27f42d3cf5 to your computer and use it in GitHub Desktop.
Revisions
-
information-security created this gist
Nov 4, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ # Prerequisites ```shell sudo apt-get install build-essential ppp-dev libevent-dev libssl-dev autoconf libtool ``` # Clone the repo ```shell git clone https://gitlab.com/eivnaes/sstp-client.git sstp-client-source cd sstp-client-source ``` # Install ```shell ./autogen.sh make -j4 sudo make install ``` # Usage ```shell sudo sstpc --user username --password p@$$W0rd --cert-warn --log-level 5 --log-stderr 1.2.3.4:443 require-mschap-v2 noauth debug ``` # Troubleshooting - If you encountered following error: `Required library libevent not found`, you must install libevent manually: ## Prerequisites ```shell sudo apt-get install pkg-config ``` ## Clone the repo ```shell git clone https://github.com/libevent/libevent.git libevent ``` ## Install libevent ```shell ./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` package ```shell sudo apt-get install ppp ```