一、安装openconnect
openconnect是Cisco的AnyConnectSSL VPN的Linux客户端。而NetworkManager-openconnect则是把openconnect的命令行工具,集成到了NetworkManager的图形界面上,它的使用与Window差不多。
$ sudo yum installopenconnect (在Fedora上,会顺带安装:vpnc-script.noarch,这个包会被openconnect用到)
$ sudo yum installNetworkManager-openconnect
二、在命令行下使用openconnect
$sudo openconnect --script /etc/vpnc/vpnc-script
https://your-vpn-server.com
Attempting to connect to 121.0.29.22:443
SSL negotiation with vpn.taobao.org
Server certificate verify failed: signer not found
Certificate from VPN server "your-vpn-server.com" failed verification.
Reason: signer not found
Enter 'yes' to accept, 'no' to abort; anything else to view: yes
Connected to HTTPS on
your-vpn-server.com
GET https://your-vpn-server.com/
Got HTTP response: HTTP/1.0 302 Object Moved
SSL negotiation with
your-vpn-server.com
Server certificate verify failed: signer not found
Connected to HTTPS on
your-vpn-server.com
GET https://your-vpn-server.com/+webvpn+/index.html
Please enter your username and password.
Username: your-name
PASSCODE: ********
POST https://your-vpn-server.com/+webvpn+/index.html
Got CONNECT response: HTTP/1.1 200 OK
CSTP connected. DPD 30, Keepalive 20
Connected tun0 as 10.1.25.155, using SSL
三、在NetworkManager上使用openconnect
第一步:创建新的VPN,选择VPN类型为:
第二步:填写VPN服务器,并点Save:
第三步:选择VPN,输入用户名、密码。
分享到:
相关推荐
Fedora linux 安装后配置攻略
fedora下mplayer的配置fedora下mplayer的配置fedora下mplayer的配置fedora下mplayer的配置fedora下mplayer的配置
本文介绍了Fedora Linux中配置JDK5或JDK6环境变量的方法。
Fedora Linux Toolbox - 1000+ Commands for Fedora, CentOS and Red Hat Power Users
旨在为初学者和有经验的用户提供有关Fedora Linux使用和管理的详细信息。
fedoraLinux系统基本使用 fedoraLinux系统基本使用
Fedora Core 6 Linux安装配置详细介绍
Fedora 是一个开放的、创新的、前瞻性的操作系统和平台,基于 Linux。它允许任何人自由地使用、修改和重发布,无论现在还是将来。它由一个强大的社群开发,这个社群的成员以自己的不懈努力,提供并维护自由、开放...
Linux Fedora 学习之Yum配置 Linux学习讲义
Fedora Linux系统Samba服务器架设及配置
Red Hat Linux 9 和Fedora Linux 10下载地址
fedora14安装配置fedora14安装配置fedora14安装配置fedora14安装配置
Fedora Linux 9安装说明 注:实现Windows XP 系统多硬盘安装Fedora Linux,采用虚拟光驱利用IOS进行硬盘安装。 Fedora Linux的镜像文件下载地址:URL:http://fedoraproject.org/zh_CN/get-fedora grub4dos文件下载...
Fedora Linux的使用指南,推荐!
Linux Fedora 学习之Linux概况 Linux 学习讲义
Fedora Linux: A Complete Guide to Red Hat's Community Distribution will take you deep into essential Fedora tasks and activities by presenting them in easy-to-learn modules. From installation and ...
Fedora Linux Servers with systemd: third edition By 作者: Richard Petersen ISBN-10 书号: 1722128305 ISBN-13 书号: 9781722128302 Edition 版本: 3 出版日期: 2018-06-29 pages 页数: (516 ) This book is ...
fedora 5 telnet配置fedora 5 telnet配置fedora 5 telnet配置fedora 5 telnet配置fedora 5 telnet配置fedora 5 telnet配置fedora 5 telnet配置