openconnect 编译安装使用
1: 安装libgnutls-dev
sudo apt-get install libgnutls28-dev
2:下载vpnc-script
拷贝到代码当前目录
chmod +x vpnc-script
3:编译 openconnect
./configure --enable-static=yes --without-openssl --with-vpnc-script=./vpnc-script --without-libproxy --without-lz4
make
make install
4: 使用
sudo ./openconnect *.*.*.*( vps服务器ip)