From ed8d868ed96a07b12818c90e459305761f156b67 Mon Sep 17 00:00:00 2001 From: an-martynova Date: Sun, 24 Nov 2024 23:23:33 +0300 Subject: [PATCH] Add info how to use exclusions in VPN CLI Add a more detailed explanation of how to use exclusions in VPN CLI #230 --- docs/adguard-vpn-for-linux/settings.md | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/adguard-vpn-for-linux/settings.md b/docs/adguard-vpn-for-linux/settings.md index 654e1e0ec..3dcf0e037 100644 --- a/docs/adguard-vpn-for-linux/settings.md +++ b/docs/adguard-vpn-for-linux/settings.md @@ -117,3 +117,38 @@ 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: +**general** - exclusions are not routed through VPN +**selective** - ONLY exclusions are routed through VPN + + +To read about what you can do with exclusions, write this in the command-line interface: +*`adguardvpn-cli site-exclusions -h`* + + +Here are the options: + **add** Add specified exclusions + **remove** Remove specified exclusions + **show** Show all exclusions + **clear** Clear all exclusions + **mode** Set VPN exclusion mode (general/selective) or show current mode if no options are passed + +To add an exclusion, you need to enter this command: *`adguardvpn-cli site-exclusions add %DOMAIN_NAME%`*, 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 + +::: + +**remove** removes one or more exclusions (if separated by commas) +Example: *adguardvpn-cli site-exclusions remove %DOMAIN_NAME%* +**show** shows the current list of exclusions +Example: *adguardvpn-cli site-exclusions show* +**clear** clears the list in the current mode +Example: *adguardvpn-cli site-exclusions clear* +**mode** allows to switch between modes +Example: *adguardvpn-cli site-exclusions mode selective* (with this selective mode is chosen) \ No newline at end of file