安装
直接用yum安装,需要管理员权限
sudo yum install openconnect
使用
配置对应的网络
openconnect + vpn网络 进行使用,需要输入用户名和密码
> sudo openconnect [https://ocvpn.sysu.edu.cn]
POST https://ocvpn.sysu.edu.cn/
Connected to 58.249.112.229:443
SSL negotiation with ocvpn.sysu.edu.cn
Connected to HTTPS on ocvpn.sysu.edu.cn with ciphersuite (TLS1.2)-(ECDHE-RSA-SECP256R1)-(AES-128-GCM)
XML POST enabled
Please enter your username.
Username:
POST https://ocvpn.sysu.edu.cn/auth
Please enter your password.
Password
问题及解决方案
如果使用openconnect导致不能上网,可以重新启动网络服务,恢复网络设置。
#重启网络
sudo service network restart
网友评论