Linux command
protonvpn 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Sign in
protonvpn signin [username]
Sign out
protonvpn signout
Connect
protonvpn connect
Example
protonvpn connect --country [US]
Example
protonvpn connect [US-NY-01]
Disconnect
protonvpn disconnect
Enable kill switch
protonvpn config set kill-switch on
List configurable options
protonvpn config list
说明
protonvpn is the official command-line client for Proton VPN service. It provides secure, encrypted VPN connections with features like kill switch, split tunneling, and server selection. The CLI allows scripting VPN connections and provides all functionality of the graphical client for headless servers or terminal users.
参数
- --country _CODE_
- Restrict connect to servers in a specific country.
- --city _CITY_
- Restrict connect to servers in a specific city.
- --protocol _PROTOCOL_
- Override the connection protocol (e.g., _wireguard_, _openvpn-tcp_, _openvpn-udp_).
- -h, --help
- Display help information.
FAQ
What is the protonvpn command used for?
protonvpn is the official command-line client for Proton VPN service. It provides secure, encrypted VPN connections with features like kill switch, split tunneling, and server selection. The CLI allows scripting VPN connections and provides all functionality of the graphical client for headless servers or terminal users.
How do I run a basic protonvpn example?
Run `protonvpn signin [username]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --country _CODE_ do in protonvpn?
Restrict connect to servers in a specific country.