Linux command
openconnect 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Connect to VPN
openconnect [vpn.example.com]
Connect with username
openconnect -u [username] [vpn.example.com]
Use certificate
openconnect -c [cert.pem] [vpn.example.com]
Specify protocol
openconnect --protocol=[anyconnect|nc|gp] [vpn.example.com]
Background mode
openconnect -b [vpn.example.com]
说明
openconnect is an SSL VPN client. Compatible with Cisco AnyConnect. The tool establishes VPN connections. Supports multiple protocols.
参数
- -u _USER_
- Username.
- -c _CERT_
- Client certificate.
- --protocol _PROTO_
- VPN protocol.
- -b
- Run in background.
- --help
- Display help information.
FAQ
What is the openconnect command used for?
openconnect is an SSL VPN client. Compatible with Cisco AnyConnect. The tool establishes VPN connections. Supports multiple protocols.
How do I run a basic openconnect example?
Run `openconnect [vpn.example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u _USER_ do in openconnect?
Username.