Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

230 Add info how to use exclusions in VPN CLI (EN) #238

Merged
merged 13 commits into from
Nov 29, 2024
34 changes: 34 additions & 0 deletions docs/adguard-vpn-for-linux/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,37 @@ The setting is responsible for the appearance of system notifications when AdGua
- A user is waiting for the VPN connection to be recovered — the *Waiting for connection* notification appears.

adguardvpn-cli config set-show-notifications on

## Exclusions

There are two modes. In *General* mode, websites from the list of exclusions are not routed through VPN. In *Selective* mode, only websites from the list of exclusions are routed through VPN. There is a separate list of exclusions for each mode.

To read about what you can do with exclusions, write this in the command-line interface: `adguardvpn-cli site-exclusions -h`.

Here are the main options:

1. **add** adds specified exclusions

Example: `adguardvpn-cli site-exclusions add`, where `%DOMAIN_NAME%` is the website that you want to add to exclusions.

:::note

To add many exclusions, you need to list them comma-separated.

:::

1. **clear** clears the list of exclusions in the current mode

Example: `adguardvpn-cli site-exclusions clear`

1. **mode** shows the current mode and allows to switch between them

Example: `adguardvpn-cli site-exclusions mode selective` (with this command, Selective mode is chosen)

1. **remove** removes one or more exclusions (if separated by commas)

Example: `adguardvpn-cli site-exclusions remove %DOMAIN_NAME%` where `%DOMAIN_NAME%` is the website that you want to remove from exclusions.

1. **show** shows the current list of exclusions

Example: `adguardvpn-cli site-exclusions show`