piactl
controls Private Internet Access VPN from the command line
TLDR
Connect to VPN
SYNOPSIS
piactl command [args]
DESCRIPTION
piactl controls Private Internet Access VPN from the command line. It manages connections and settings.
Connection commands handle VPN state. Quick connect uses last region or auto-selects.
Region selection chooses exit location. List available regions to see options.
Kill switch blocks traffic when disconnected. This prevents IP leaks during connection issues.
Settings configure protocol, port, and features. DNS and split tunneling are configurable.
PARAMETERS
connect
Connect to VPN.disconnect
Disconnect VPN.get PROPERTY
Get setting or status.set PROPERTY VALUE
Set configuration.login
Authenticate.logout
Log out.reset
Reset to defaults.
PROPERTIES
connectionstate
Connection status.region
VPN region.regions
Available regions.vpnip
VPN IP address.publicip
Current public IP.killswitch
Kill switch state.protocol
VPN protocol.
CAVEATS
Requires PIA daemon running. Subscription required. Some features need GUI configuration first.
HISTORY
piactl is the command-line interface for Private Internet Access VPN service. It provides scriptable control over the PIA client for automation and headless systems.
