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 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 (
version:2.12.0 (date:2020-05-13 commit:f8da51caf76cab956c1cc38819d08e04a337a296)

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

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

 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.


We invite you to discuss this post in our Reddit community or on Twitter. You can also send your feedback to

Independent security audit concluded

By Nick Pestell


IVPN applications are now open source

By Viktor Vecsei


Beta IVPN Linux app released

By Viktor Vecsei

DNS over HTTPS (DoH) support on macOS, Linux and Windows Releases

DNS over HTTPS (DoH) support on macOS, Linux and Windows

Posted on April 5, 2022 by IVPN Staff

IVPN offers custom DNS servers which, when accessed through the VPN ensure that your DNS queries are encrypted between your device and our DNS server. This is a necessity, as DNS queries are not encrypted by the DNS protocol and can be easily read by an adversary observing your traffic (even when using HTTPS for your web traffic).
WireGuard Port Forwarding enabled Releases

WireGuard Port Forwarding enabled

Posted on February 16, 2022 by Viktor Vecsei

After the recent addition of Multi-Hop for WireGuard, we are now introducing port forwarding support for Wireguard. Port forwarding allows incoming connections on a specific port, enabling you to run various services on your device that need to be accessible from the Internet.
Spotted a mistake or have an idea on how to improve this page?
Suggest an edit on GitHub.