Skip to content

Commit

Permalink
Merge pull request #240 from AdguardTeam/agm-2232
Browse files Browse the repository at this point in the history
[AGM-2232] Add info about new features of AdGuard VPN for Linux v1.1
  • Loading branch information
vyanovsky authored Dec 3, 2024
2 parents 7bfdb01 + 8274665 commit 31cb448
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/adguard-vpn-for-linux/autocomplete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Command-line completion
sidebar_position: 5
---

To make navigating through different and, sometimes, pretty long commands easier, you can use the command-line completion feature.

To enable it, see the bash-completion hint that is shown after installing or updating AdGuard VPN for Linux:

![bash-completion hint](https://cdn.adtidy.org/blog/new/6x3djbash-completion-hint.png)

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.

![bash-completion locations command](https://cdn.adtidy.org/blog/new/1g4nhVPN-CLI-autocomplete.png)
62 changes: 62 additions & 0 deletions docs/adguard-vpn-for-linux/exclusions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
title: Exclusions
sidebar_position: 7
---

The *Exclusions* feature 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, in AdGuard VPN for Linux you can use Exclusions in two modes: General (VPN is enabled for all domains except for those in the list of exclusions) and Selective (VPN is enabled only for the domains in the list of exclusions).

:::note

Each mode has its own list of exclusions.

:::

![Exclusions](https://cdn.adtidy.org/blog/new/m6pkdVPN-CLI-exclusions.png)

### 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%

:::tip

Supported input formats: `domain.com`, `sub.domain.com`, `www.domain.com`. To add two or more exclusions at once, list them comma-separated. 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 Exclusions 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%

:::
8 changes: 8 additions & 0 deletions docs/adguard-vpn-for-linux/login.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ If required, enter your admin password.
To check for updates, type:

adguardvpn-cli check-update

## Check 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.

0 comments on commit 31cb448

Please sign in to comment.