LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

piactl

controls Private Internet Access VPN from the command line

TLDR

Connect to VPN
$ piactl connect
copy
Disconnect VPN
$ piactl disconnect
copy
Show connection status
$ piactl get connectionstate
copy
Set region
$ piactl set region [us-east]
copy
List regions
$ piactl get regions
copy
Get current region
$ piactl get region
copy
Enable kill switch
$ piactl set killswitch on
copy
Show public IP
$ piactl get vpnip
copy

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.

SEE ALSO

openvpn(1), wg(1), nmcli(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid