Command-line interface for IVPN released

Releases By Alexandr Stelnykovych | Posted on May 20, 2020

As privacy advocates and technologists we are constantly working on features which we think will improve the user experience of the IVPN apps. Less than a month after the release of the Linux app, we are proud to release a command-line interface (CLI) for the macOS and Windows apps. After installing v2.12.0, it is possible to connect to the IVPN network using either the command line or graphical interface.

To get started, open a Command Prompt from the Start menu on Windows or run Terminal.app on macOS. Enter ivpn connect -any -country Canada and hit enter - this simple command will start a VPN connection to an IVPN server in Canada. You can also try running ivpn connect -last to connect with the last successfully used connection settings.

command line interface gif

You can control all aspects of the IVPN app through the command line. Run ivpn -h to learn more about the available commands and parameters:

$ ivpn -h
Command-line interface for IVPN client (www.ivpn.net)
version:2.12.0 (date:2020-05-13 commit:f8da51caf76cab956c1cc38819d08e04a337a296)

Usage: ivpn COMMAND [OPTIONS...] [COMMAND_PARAMETER] [-h|-help]

COMMANDS:
status           Prints full info about IVPN state
connect LOCATION Establish new VPN connection
disconnect       Disconnect active VPN connection (if connected)
servers FILTER   Show servers list
firewall         Firewall management
wgkeys           WireGuard keys management
dns DNS_IP       Default 'custom DNS' management for VPN connection
antitracker      Default AntiTracker configuration management for VPN connection
logs             Logging management
login ACCOUNT_ID Login operation (register ACCOUNT_ID on this device)
logout           Logout from this device (if logged-in)
account          Get info about current account

Tips:
 ivpn COMMAND -h         Show detailed description of command
 ivpn -h -full           Show detailed description about all commands


Our continued aim is to make the IVPN experience as seamless as possible. We have added the CLI option on macOS and Windows for customers who prefer to operate through the command line. It is just an option: you can also continue using the IVPN app graphical interface as before.

IVPN Team

apps
We invite you to discuss this post in our Reddit community or on Twitter. You can also send your feedback to blog@ivpn.net.
IVPN News

Independent security audit concluded

By Nick Pestell

IVPN News

IVPN applications are now open source

By Viktor Vecsei

Releases

Beta IVPN Linux app released

By Viktor Vecsei

Introducing device management for better control of logged in devices Releases

Introducing device management for better control of logged in devices

Posted on February 13, 2024 by Viktor Vecsei

We are introducing IVPN device management, an opt-in (disabled by default) feature that helps you review and log out from devices currently logged in to IVPN apps. This step is a direct response to frequent customer requests for better device controls.
Launch of IVPN Light - short-term VPN access paid with BTC Lightning Releases

Launch of IVPN Light - short-term VPN access paid with BTC Lightning

Posted on September 15, 2023 by Viktor Vecsei

Equipped with a BTC Lightning wallet and some sats, you can now set up an IVPN WireGuard tunnel in minutes without creating an account or sharing any personal information. Benefits of using IVPN Light: Short duration access option, you can get a “throwaway” VPN tunnel for 3 hours or up to 30 days duration Priced in sats and affordable - you can purchase access for as little as 500 sats (3 hours) Access up to 5 locations or 1 entry-exit node MultiHop combination with one payment No account required - we only keep a record of your Lightning payment on our self-hosted BTCPayServer, no personal information is collected Differences versus a regular IVPN subscription:
Spotted a mistake or have an idea on how to improve this page?
Suggest an edit on GitHub.