It’s been only 3 months since the official release of v1.0, but AdGuard VPN for Linux just got even better: meet the v1.1 beta. The biggest improvement is the Exclusions feature, which you may already know from other AdGuard VPN products. We also added a command that allows you to view your subscription information and made fixes that improve overall security and stability.
New feature: Exclusions
This feature drastically improves the usability of AdGuard VPN for Linux. For those who don’t know: this option lets you decide which domains’ traffic should be excluded from VPN routing. This is handy when you don’t need VPN to work for some websites, because it saves you the hassle of constantly turning VPN on and off.
Just like in AdGuard VPN for other platforms, you can use Exclusions in two modes: General (VPN is enabled for all domains except for those in the exclusion list) and Selective (VPN is enabled only for the domains in the exclusion list). Note: each mode has its own list of exclusions.
How to use
To view all exclusion-related commands, type:
adguardvpn-cli site-exclusions -h
To add a domain to the exclusion list of the current mode, type:
adguardvpn-cli site-exclusions add %domain_name%
Supported input formats: domain.com
, sub.domain.com
, www.domain.com
. Use double quotes for wildcards: "*.domain.com"
Command example: adguardvpn-cli site-exclusions add https://www.google.com/
To remove a domain from the list of exclusions, type:
adguardvpn-cli site-exclusions remove %domain_name%
To view the current exclusion list, type:
adguardvpn-cli site-exclusions show
To remove all exclusions, type:
adguardvpn-cli site-exclusions clear
To change the exclusion mode, type:
adguardvpn-cli site-exclusions mode %mode_name%
(or you can just check the current mode using adguardvpn-cli site-exclusions mode
)
where %mode_name% is general
or selective
.
Note: the commands listed above (add
, remove
, show
, clear
) are applied to the exclusion list of the current mode. To perform a command for a specific mode, add --for-mode %mode_name% type
, for example:
adguardvpn-cli site-exclusions add %domain_name% --for-mode %mode_name%
New command to view your subscription info
To check your current subscription information and status, type:
adguardvpn-cli license
You will see your email and subscription type. Paid users will also see the expiration date of their subscription.
Command-line completion
To make navigating through different and, sometimes, pretty long commands easier, we added the autocomplete feature. To enable it, see the bash-completion hint that is shown after installing or updating AdGuard VPN for Linux. To use the feature, just start typing the command you want and hit the Tab ↹ key — the command will automatically complete with a necessary word or will show a choice of completion options.
Changelog
Improvements
Add a command to view subscription info
#12 Autocomplete commands by pressing the Tab key
#18 Add "script" mode for routes
#22 Display the directory path when entering a command
config show
#24 Auto-detect which routing table should be used on Linux
#43 Fixes
Extracting .tar.gz archives doesn't create a subdirectory
#29 Temporary loss of network connection may lead to IP leak
#32 DNS leaks when connected to VPN
#34