piactl

The command line tool for Private Internet Access, a commercial VPN provider.

TLDR

Log in to Private Internet Access

$ piactl login [path/to/login_file]
copy

Connect to Private Internet Access

$ piactl connect
copy

Disconnect from Private Internet Access

$ piactl disconnect
copy

Enable or disable the Private Internet Access daemon in the background

$ piactl background [enable|disable]
copy

List all available VPN regions

$ piactl get regions
copy

Display the current VPN region

$ piactl get region
copy

Set your VPN region

$ piactl set region [region]
copy

Log out of Private Internet Access

$ piactl logout
copy

Copied to clipboard
free 100$ digital ocean credit