1 2 3 4 5 6 7 8 |
sudo apt-get install ppp-dev sudo apt-get install libevent-dev sudo apt-get install libssl-dev wget http://sourceforge.net/projects/sstp-client/files/sstp-client/1.0.10/sstp-client-1.0.10.tar.gz/download cd sstp-client-1.0.10/ ./configure --prefix=/usr --with-runtime-dir=/var/run/sstpc --with-pppd-plugin-dir=/usr/lib/pppd/`pppd --version 2>&1 |awk '{print $3}'` make make install |
1 |
vim /etc/ppp/peers/sstp-bj |
写入
remotename sstp-bj
linkname sstp-bj
ipparam sstp-bj
pty "sstpc server:port[......]