2020-10-02 20:09:01 +01:00
|
|
|
# piactl
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> The command-line tool for Private Internet Access, a commercial VPN provider.
|
2020-10-02 20:09:01 +01:00
|
|
|
> More information: <https://privateinternetaccess.com/helpdesk/kb/articles/pia-desktop-command-line-interface>.
|
|
|
|
|
|
|
|
- Log in to Private Internet Access:
|
|
|
|
|
|
|
|
`piactl login {{path/to/login_file}}`
|
|
|
|
|
|
|
|
- Connect to Private Internet Access:
|
|
|
|
|
|
|
|
`piactl connect`
|
|
|
|
|
|
|
|
- Disconnect from Private Internet Access:
|
|
|
|
|
|
|
|
`piactl disconnect`
|
|
|
|
|
|
|
|
- Enable or disable the Private Internet Access daemon in the background:
|
|
|
|
|
|
|
|
`piactl background {{enable|disable}}`
|
|
|
|
|
|
|
|
- List all available VPN regions:
|
|
|
|
|
|
|
|
`piactl get regions`
|
|
|
|
|
|
|
|
- Display the current VPN region:
|
|
|
|
|
|
|
|
`piactl get region`
|
|
|
|
|
|
|
|
- Set your VPN region:
|
|
|
|
|
|
|
|
`piactl set region {{region}}`
|
|
|
|
|
|
|
|
- Log out of Private Internet Access:
|
|
|
|
|
|
|
|
`piactl logout`
|