Proton VPN CLI Commands

Login

protonvpn-cli login username #then enter your password

Connect

protonvpn-cli connect # protonvpn-cli c

Choose country and server

Status

protonvpn-cli status # protonvpn-cli s

Disconnect

protonvpn-cli disconnect # protonvpn-cli d

How to use the kill switch

The ProtonVPN official Linux app includes a kill switch. The basic kill switch will block all your internet connections when the VPN app is running and the connection to one of our servers fails. To enable it, enter:

protonvpn-cli ks --on

The app also features an always-on kill switch. This prevents all internet connections unless the VPN app is running and connected to one of our servers. To enable it, enter:

protonvpn-cli ks --always-on

You can disable the kill switch by entering:

protonvpn-cli ks --off