Ubuntu下一键部署Cisco anyconnect服务

cisco anyconnect是个好东西,中央都钦定了,由你来翻墙

注意!cisco anyconnect客户端在3.1版本后不支持证书认证了!如果按照此教程部署,请使用3.1以前版本!

下面是具体安装过程:
操作系统是ubuntu 14.04 (实测conoha,linode,hostHatch都可运行)

apt-get UPDATE && apt-get upgrade -y
wget http://git.io/p9r8 –no-check-certificate -O ocservauto.sh
bash ocservauto.sh

一键安装,过程有点长,最后会让你输入VPN账户名和密码。

最后全部安装完成!显示如下!

Your server domain is XXXXXXX
Your username is XXXX
Your password is XXXX
You could use ‘ sudo ocpasswd -c /etc/ocserv/ocpasswd username ‘ to add users.
You could stop ocserv by ‘ /etc/init.d/ocserv stop ‘!
Boot from the start or not, use ‘ sudo insserv ocserv ‘ or ‘ sudo insserv -r ocserv ‘.

Enjoy it!

发表评论

电子邮件地址不会被公开。 必填项已用*标注