Files
tldr/pages.zh/common/piactl.md

36 lines
795 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# piactl
> 这是一个用于私人互联网访问Private Internet Access的命令行工具私人互联网访问是一家商业VPN提供商。
> 更多信息:<https://helpdesk.privateinternetaccess.com/kb/articles/pia-desktop-command-line-interface-part-1>。
- 登录私人互联网访问:
`piactl login {{path/to/login_file}}`
- 连接到私人互联网访问:
`piactl connect`
- 断开与私人互联网访问的连接:
`piactl disconnect`
- 在后台启用或禁用私人互联网访问守护进程:
`piactl background {{enable|disable}}`
- 列出所有可用的VPN区域
`piactl get regions`
- 显示当前的VPN区域
`piactl get region`
- 设置你的VPN区域
`piactl set region {{region}}`
- 从私人互联网访问登出:
`piactl logout`