1.1. Centos 安装 Cisco AnyConnect VPN

  • CentOS Linux release 7.8.2003 (Core)

1.1.1. openconnect

wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-11.noarch.rpm
rpm -Uvh epel-release-7-11.noarch.rpm
yum install vpnc
wget http://springdale.math.ias.edu/data/puias/7/x86_64/os/Addons/Packages/openconnect-7.08-1.sdl7.x86_64.rpm
#yum install lz4
rpm -Uvh openconnect-7.08-1.sdl7.x86_64.rpm
yum install stoken-libs
yum install pcsc-lite-libs
yum install libproxy
rpm -Uvh openconnect-7.08-1.sdl7.x86_64.rpm

## echo 'Password' | openconnect https://xxxx.com -u username

1.1.2. V2

wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-11.noarch.rpm
rpm -Uvh epel-release-7-11.noarch.rpm
yum install -y vpnc
wget http://springdale.math.ias.edu/data/puias/7/x86_64/os/Addons/Packages/openconnect-7.08-1.sdl7.x86_64.rpm
yum install -y stoken-libs pcsc-lite-libs libproxy
rpm -Uvh openconnect-7.08-1.sdl7.x86_64.rpm
openconnect https://xxxx.com
## echo 'Password' | openconnect https://xxxx.com -u username

-c xxxx.pem 可以增加证书

1.1.3. anyconnect

xxx.pem   -->  ~.cisco/certificates/client/
// openssl rsa -in xxx.pem -out xxx.key  -从pem 提取 private Key
xxx.key   --> ~.cisco/certificates/client/private

results matching ""

    No results matching ""