Anyconnect简易搭建教程 (CentOS专用)

Anyconnect 安装教程

安装anyconnect
开始配置anyconnect,
首先部署:wget https://github.com/travislee8964/Ocserv-install-script-for-CentOS-RHEL-7/blob/4093e71b4542cab779116db1fb38ab9d17d1a13e/ocserv-install-script-for-centos7.sh

终端运行 ocserv-install-script-for-centos7.sh然后按照提示即可,很傻瓜。部署完,需要开启防火墙:systemctl start firewalld.service部署完成

感谢

https://www.stunnel.info/ocserv-cisco-anyconnect-%E5%85%BC%E5%AE%B9%E6%9C%8D%E5%8A%A1%E7%AB%AF-%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85%E8%84%9A%E6%9C%AC-for-centos-7/ ).补充说明搭建完成后,按下面方式启动不过如果你重启了,可以用下面方法快速开启anyconnect:开启anyconnect:systemctl start firewalld.service firewall-cmd –permanent –zone=public —add-port=8981/tcp