From 43bac7695ed5df0708c8a73f6d950090dcf64c61 Mon Sep 17 00:00:00 2001 From: sonya-orlova <95080242+sonya-orlova@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:02:23 +0000 Subject: [PATCH] automatically update translations --- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../current.json | 2 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../current/adguard-vpn-for-linux/feedback.md | 2 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 42 +-- .../setting-up-on-a-router.md | 12 +- .../current/adguard-vpn-for-mac/overview.md | 10 +- .../adguard-vpn-for-windows/installation.md | 2 +- .../adguard-vpn-for-windows/overview.md | 12 +- .../current/general/how-vpn-works.md | 8 +- .../set-up-adguard-vpn-on-your-router.md | 14 +- .../current/general/vpn-issues.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../current.json | 2 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 10 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../current/general/why-adguard-vpn.md | 2 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 37 +-- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 6 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../adguard-vpn-for-ios/installation.md | 32 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- .../adguard-vpn-for-android/overview.md | 2 +- .../current/adguard-vpn-for-ios/overview.md | 8 +- .../solving-problems/automation.md | 4 +- .../setting-up-on-a-router/asuswrt-merlin.md | 283 ++++++++++++++++++ .../setting-up-on-a-router/keenetic.md | 35 ++- .../setting-up-on-a-router/openwrt.md | 4 +- .../setting-up-on-a-router.md | 4 +- .../current/adguard-vpn-for-mac/overview.md | 2 +- .../adguard-vpn-for-windows/overview.md | 4 +- .../current/general/how-vpn-works.md | 6 +- .../set-up-adguard-vpn-on-your-router.md | 4 +- 238 files changed, 6866 insertions(+), 736 deletions(-) create mode 100644 i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md create mode 100644 i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index ff9c393383..dcf52e9670 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ Poslední částí v *Pokročilých nastaveních* jsou *Nízkoúrovňová nastav :::caution -V možnosti **Preferovaná verze IP** se před výběrem mezi IPv6 a IPv4 ujistěte, že vaše síť tento protokol podporuje. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. A naopak. +V možnosti **Preferovaná verze IP** se před výběrem mezi IPv6 a IPv4 ujistěte, že vaše síť tento protokol podporuje. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. A naopak. ::: diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index b07be157da..27728eb5b1 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPN umožňuje vytvořit zabezpečené připojení k jiné síti na internetu. P AdGuard VPN má několik funkcí: -- skrývá vaše skutečné místo pobytu a pomáhá vám zůstat v anonymitě -- změní vaši IP adresu a ochrání vaše data před sledováním -- zašifruje váš provoz a znemožní podvodníkům přístup k obsahu -- umožňuje nastavit, kde se má VPN používat a kde ne (funkce výjimek) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) Další výhodou AdGuard VPN pro iOS je náš vlastní VPN protokol. V porovnání s jinými protokoly VPN je velmi obtížné jej odhalit a je stabilní i při špatném připojení k internetu. [Další informace o protokolu AdGuard VPN](/general/adguard-vpn-protocol). diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 6afbb2dd0c..52c6e14a4d 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Jak nastavit automatizaci AdGuard VPN V AdGuard VPN pro iOS nejsou žádné výjimky aplikací. Přesto existuje způsob, jak automatizovat AdGuard VPN pro aplikace v iPhonech a iPadech. -## Nastavení automatické aktivace AdGuard VPN +## Configuring automatic connection to VPN Pokud potřebujete VPN pro jednu nebo více aplikací, nastavte AdGuard VPN tak, aby se automaticky zapínala a vypínala při jejich otevření a zavření. Přejděte na kartu Výjimky, vyberte možnost Obecný režim a postupujte podle pokynů. Zde popisujeme, jak vytvořit automatizaci pro Twitter, ale můžete si vybrat jakoukoli jinou aplikaci. @@ -28,7 +28,7 @@ Pokud potřebujete VPN pro jednu nebo více aplikací, nastavte AdGuard VPN tak, Nyní máte nový scénář: AdGuard VPN se automaticky zapne při spuštění aplikace Twitter. Nyní je třeba vytvořit další příkaz, který zajistí automatické vypnutí AdGuard VPN při zavření aplikace. -## Nastavení automatické deaktivace AdGuard VPN +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 6d2d46449e..b29a6397f6 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Nakonec se dostáváme ke kartě Nastavení. V sekci *O programu* si můžete pr První čtyři základní funkce činí aplikaci pohodlnější a uživatelsky přívětivější, tj. *Kill Switch*, *automatické aktualizace*, *spuštění AdGuard VPN při přihlášení *a *automatické připojení při spuštění aplikace*. Navíc si můžete vybrat mezi světlým, tmavým a systémovým motivem — poslední jmenovaný motiv odpovídá motivu vašeho počítače Mac. -Můžete také povolit AdGuard VPN shromažďovat a odesílat anonymizovaná hlášení o pádech aplikace, technické údaje a údaje o interakci, aby nám pomohla zlepšit naši aplikaci. V neposlední řadě můžete exportovat protokoly z vašeho Macu. To může být užitečné, pokud chcete ke zprávě na podporu připojit protokoly. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. V neposlední řadě můžete exportovat protokoly z vašeho Macu. To může být užitečné, pokud chcete ke zprávě na podporu připojit protokoly. ### DNS servery diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 306ec8b915..d66b19fd1e 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN pro Windows má mnoho výhod, proto jsme tomu věnovali [samostatný ## Jak začít používat AdGuard VPN pro Windows -Chcete-li začít používat AdGuard VPN pro Windows, stáhněte si aplikaci z [našich webových stránek](https://adguard-vpn.com/welcome.html). Instalace netrvá déle než minutu — zobrazí se dialogové okno, ve kterém je třeba zaškrtnout alespoň jedno políčko s podmínkami uživatelské smlouvy a zásady ochrany osobních údajů. Je na vás, zda chcete, aby AdGuard shromažďoval anonymizovaná data o používání aplikací. Nakonec vás program požádá o přihlášení, a to buď prostřednictvím účtu [AdGuard](https://auth.adguard.com/login.html), nebo prostřednictvím sociálních sítí (Apple, Google, Facebook). To je vše, nyní můžete používat AdGuard VPN pro Windows. +Chcete-li začít používat AdGuard VPN pro Windows, stáhněte si aplikaci z [našich webových stránek](https://adguard-vpn.com/welcome.html). Instalace netrvá déle než minutu — zobrazí se dialogové okno, ve kterém je třeba zaškrtnout alespoň jedno políčko s podmínkami uživatelské smlouvy a zásady ochrany osobních údajů. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Nakonec vás program požádá o přihlášení, a to buď prostřednictvím účtu [AdGuard](https://auth.adguard.com/login.html), nebo prostřednictvím sociálních sítí (Apple, Google, Facebook). To je vše, nyní můžete používat AdGuard VPN pro Windows. ## Domovská obrazovka @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export seznamů výjimek -Chcete-li exportovat seznam výjimek z AdGuard VPN pro Windows do počítače, klikněte na **Exportovat výjimky**, vyberte složku, do které bude seznam uložen, a klikněte na **Uložit**. Stáhne se archiv `exclusions.zip` se dvěma soubory `.txt`, jeden pro každý ze seznamů. Můžete je upravit přidáním nových výjimek nebo odstraněním starých. +Chcete-li exportovat seznam výjimek z AdGuard VPN pro Windows do počítače, klikněte na **Exportovat výjimky**, vyberte složku, do které bude seznam uložen, a klikněte na **Uložit**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Můžete je upravit přidáním nových výjimek nebo odstraněním starých. V cílovém zařízení otevřete AdGuard VPN, klikněte na *Výjimky* a vyberte *Webové stránky* nebo *Aplikace*. Klikněte na *Importovat výjimky* a vyberte přijatý archiv. diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/cs/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 71f9bb1ea8..b70d008b7c 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Naše VPN má několik důležitých [výhod](/general/why-adguard-vpn): - [_Vlastní protokol VPN_](/general/adguard-vpn-protocol), který funguje stabilně i při pomalém připojení k internetu a maskuje se jako běžný provoz, takže je obtížnější jej sledovat a blokovat -- [_Zásady nulových záznamů aktivit_](https://adguard-vpn.com/privacy.html), což znamená, že AdGuard VPN neshromažďuje vaše osobní údaje a nepředává je třetím stranám +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _Více než 50 VPN serverů v desítkách zemí_ @@ -83,4 +83,8 @@ V současné době je AdGuard VPN k dispozici jako: - Desktopová aplikace pro [Windows](/adguard-vpn-for-windows/overview) a [macOS](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Další informace o funkcích AdGuard VPN](https://adguard-vpn.com/welcome.html) diff --git a/i18n/cs/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/cs/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index a01cd642f3..3c3285febe 100644 --- a/i18n/cs/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/cs/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: Jak nastavit AdGuard VPN na routeru sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ Pokud chcete změnit umístění serveru VPN, musíte aktualizovat nastavení ro - S AdGuard VPN na vašem routeru nemá poskytovatel VPN ani nikdo jiný přístup k vaší internetové aktivitě - Instalace AdGuard VPN na váš router zabezpečí celou vaši síť, což znamená, že všechna zařízení k ní připojená jsou chráněná -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Zařízení, která lze připojit k routeru s AdGuard VPN diff --git a/i18n/da/docusaurus-plugin-content-docs/current.json b/i18n/da/docusaurus-plugin-content-docs/current.json index b3110ab2e3..9178ab7b10 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current.json +++ b/i18n/da/docusaurus-plugin-content-docs/current.json @@ -52,7 +52,7 @@ "description": "The label for category AdGuard VPN for Linux in sidebar sidebar" }, "sidebar.sidebar.category.Setting up on a router": { - "message": "Setting up on a router", + "message": "Opsætning på en router", "description": "The label for category Setting up on a router in sidebar sidebar" } } diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 268eaef16a..633a4aa789 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ Det sidste afsnit under *Avancerede indstillinger* er *Lavniveauindstillinger*. :::caution -Inden valg af IPv6 eller IPv4 i indstillingen **Foretrukken IP-version**, tjek at protokollen understøttes af det aktuelle netværk. Vælges f.eks. IPv6, og netværket kun understøtter IPv4, kan der opleves problemer med internetforbindelsen. Og omvendt. +Inden valg af IPv6 eller IPv4 i indstillingen **Foretrukken IP-version**, tjek at protokollen understøttes af det aktuelle netværk. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. Og omvendt. ::: diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index d0f71552d0..d1ed84150b 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ Et VPN muliggør at oprette en sikker forbindelse til et andet netværk på inte AdGuard VPN har flere funktioner: -- skjuler den reelle færden og hjælper med at forblive anonym -- skifter IP-adresse for at beskytte data mod at blive sporet -- krypterer trafikken, hvilket gør indholdet utilgængeligt for svindlere -- muliggør at opsætte, hvor VPN skal, og ikke skal, bruges (undtagelsesfunktion) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) Den næste fordel ved AdGuard VPN til iOS er vores egen VPN-protokol. Den er ekstremt svært at opdage sammenlignet med andre VPN-protokoller, og den er stabil selv med en dårlig internetforbindelse. [Læs mere om AdGuard VPN-protokollen](/general/adguard-vpn-protocol). diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index e7bb161688..f851ae5162 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Sådan opsættes AdGuard VPN-automatisering Der er ingen app-undtagelser i AdGuard VPN til iOS. Der er dog alligevel en måde at automatisere AdGuard VPN til apps på iPhones og iPads. -## Opsætning af AdGuard VPN automatisk aktivering +## Configuring automatic connection to VPN Ved behov for et VPN til en eller flere apps, skal AdGuard VPN opsættes til automatisk at slå til og fra, når disse åbnes og lukkes. Gå til fanen Undtagelser, vælg tilstanden Generel og følg vejledningen. Her beskrives, hvordan automatisering opsættes til Twitter, men en hvilken som helst app kan vælges. @@ -28,7 +28,7 @@ Ved behov for et VPN til en eller flere apps, skal AdGuard VPN opsættes til aut Nu er der et nyt scenarie: AdGuard VPN aktiveres automatisk, når Twitter-appen startes. Der skal nu oprettes en kommando mere, der automatisk deaktiverer AdGuard VPN, når Twitter-appen lukkes. -## Opsætning af AdGuard VPN til automatisk deaktivering +## Configuring automatic disconnection from VPN ![Vejledning. Del 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/feedback.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/feedback.md index 8a1657a8b2..da8f9144a5 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/feedback.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/feedback.md @@ -1,5 +1,5 @@ --- -title: Feedbackindsendelse +title: Indsendelse af feedback sidebar_position: 6 --- diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 8f1417d07e..a4e1736e2c 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: Sådan opsættes AdGuard VPN til Linux på en Keenetic-router -sidebar_position: 3 +sidebar_position: 2 --- :::info Systemkrav @@ -35,7 +35,7 @@ ipconfig ### macOS og Linux -1. Åbn Terminal på Linux, og eksekvér denne kommando: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Erstat `192.168.1.1` med routerens aktuelle IP-adresse. 1. Er første gang, der oprettes forbindelse til routeren via SSH, vises en meddelelse i stil med denne: -```bash +```text Ægtheden af værten '192.168.1.1 (192.168.1.1)' kan ikke fastslås. ECDSA-nøglefingeraftryk er SHA256:... Sikker på, at der fortsat skal oprettes forbindelse (ja/nej/[fingeraftryk])? @@ -107,7 +107,7 @@ For detaljeret vejledning, besøg [den officielle Keenetic Wiki](https://help.ke ### Sådan installeres OPKG Entware på routerens interne lager -Denne metode fungerer med flg. modeller: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810 og KN-3610 med minimum KeeneticOS-version 3.7. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detaljeret vejledning, besøg [den officielle Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ Eksekvér i SSH-klienten flg. kode for at installere de pakker, som kræves til opkg install curl sudo ca-certificates ``` -Gå til mappen `cd/opt` og eksekvér AdGuard VPN CLI installations-scriptet: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -Svar `y` på forespørgslen `Skal den binære linkes til /usr/local/bin?`. Mislykkes det at linke den binære, eksekvér denne linje: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Opret forbindelse til VPN - Importér SSL-certifikatet før tilslutning ved at eksekvere flg. kommando: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` Dette skal gøres før hver session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN vælger den hurtigste lokation tilgængelig og husker den til fremtidige hurtige forbindelser. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Justér indstillingerne @@ -233,15 +234,15 @@ Dette trin er designet til at opsætte firewall-regler på en Keenetic-router ti ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ Dette trin er designet til at opsætte firewall-regler på en Keenetic-router ti chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + Dette opretter et nyt shell-script ved navn `001-adguardvpn.sh` i mappen `/opt/etc/ndm/netfilter.d/`, hvilket er hvor netværksrelaterede scripts typisk lagres på en Keenetic-router. Scriptet opretter en tilpasset firewall-regel for at sikre, at trafik fra LAN'et (`br0`) rutes igennem AdGuard VPN-grænsefladen (`tun0`). Det rydder først op i tidligere regler relateret til denne opsætning og opsætter dernæst nye regler til korrekt rutning af trafikken. @@ -278,7 +281,7 @@ Og gør det eksekverbart: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -Scriptet ved navn `001-adguardvpn.sh` gemmes i `/opt/etc/ndm/wan.d/`. +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. Det starter AdGuard VPN, når internet er forbundet. diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index cb7a9a8d0d..68d1114360 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: Sådan opsættes AdGuard VPN til Linux på en OpenWRT-router -sidebar_position: 2 +sidebar_position: 3 --- :::info Systemkrav @@ -159,25 +159,25 @@ curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/sc adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN vælger den hurtigste lokation tilgængelig og husker den til fremtidige hurtige forbindelser. -3. Adjust your settings +3. Justér indstillingerne - Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + Få en liste over alle tilgængelige AdGuard VPN-kommandoer og tilpas VPN-klienten efter behov. - To view all commands, type: + For at se alle kommandoer, skriv: ```jsx adguardvpn-cli --help-all ``` - AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + AdGuard VPN CLI opretter en tun0-grænseflade til VPN-tunneling. -## 6) Set up firewall rules +## 6) Opsæt firewall-regler -You can do it in the web interface or in the command line. Steps below describe setup via SSH command line. +Det kan gøres via webgrænsefladen eller på kommandolinjen. Trinene nedenfor beskriver opsætning via en SSH-kommandolinje. -1. Add a new unmanaged interface via SSH +1. Tilføj en ny ikke-håndteret grænseflade via SSH ```shell ssh admin@router_ip @@ -188,20 +188,20 @@ You can do it in the web interface or in the command line. Steps below describe /etc/init.d/network reload ``` -2. Add tun0 to WAN zone +2. Tilføj tun0 til WAN-zonen - For traffic to go through VPN, add tun0 to WAN zone. - The WAN interface which connects to the Internet will typically be in a zone named `wan` or something similar. Check your router's configuration files or firewall settings to find out which zone is associated with the WAN interface. + For at trafikken skal rutes igennem VPN, tilføj tun0 til WAN-zonen. + WAN-grænsefladen, der forbinder til internet, vil typisk være i en zone ved navn 'wan' eller noget tilsvarende. Tjek routerens opsætningsfiler eller firewall-indstillinger for at finde ud af, hvilken zone der tilknyttet WAN-grænsefladen. - To do so, list the existing firewall zones: + For at gøre dette, oplist de eksisterende firewall-zoner: ```shell uci show firewall ``` - This will show a config file with all zones listed. Look for a section like `firewall.@zone[1]` or similar where `option name 'wan'` is defined. The number `[1]` could be different depending on your configuration. + Dette vil vise en opsætningsfil med alle zoner oplistet. Se efter en sektion såsom `firewall.@zone[1]` el.lign., hvor `indstillingsnavn 'wan'` er defineret. Tallet "[1]" kan være anderledes afhængigt af opsætningen. - Run this SSH command, replace `zone[1]` with correct ‘wan’ zone identified before: + Eksekvér denne SSH-kommando, erstat 'zone[1]' med den korrekte 'wan'-zone identificeret tidligere: ```shell uci show firewall | grep "=zone" @@ -210,7 +210,7 @@ You can do it in the web interface or in the command line. Steps below describe /etc/init.d/firewall reload ``` - If you want to disable all traffic that is not protected by VPN, run the following command. This way you won’t have an Internet connection at all if VPN disconnects. If you choose not to do this step, your real IP will be exposed if the VPN disconnects. + Vil man deaktivere al trafik, som ikke er beskyttes af VPN, eksekvér flg. kommando. På denne måde vil der slet ikke være internetforbindelse, hvis VPN afbrydes. Vælger man ikke at udføre dette trin, vil den reelle IP blive afsløret, hvis VPN afbrydes. ```shell uci del_list firewall.@zone[1].network='wan' @@ -219,7 +219,7 @@ You can do it in the web interface or in the command line. Steps below describe /etc/init.d/firewall reload ``` - If you’ve changed your mind and want to allow direct traffic, run the following command: + Ombestemmer man sig og vil tillade direkte trafik, eksevér da flg. kommando: ```shell uci add_list firewall.@zone[1].network='wan' @@ -228,11 +228,11 @@ You can do it in the web interface or in the command line. Steps below describe /etc/init.d/firewall reload ``` -## 7) Set up automatic launch for AdGuard VPN CLI +## 7) Opsæt automatisk start af AdGuard VPN CLI -To automatically launch AdGuard VPN CLI after rebooting the router, create a file at `…/etc/init.d/adguardvpn`. +For automatisk at starte AdGuard VPN CLI efter genstart af routeren, opret en fil på `…/etc/init.d/adguardvpn`. -Paste this into the file: +Indsæt følgende i filen: ```text #!/bin/sh /etc/rc.common @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..46acb82729 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -1,12 +1,14 @@ --- -title: Setting up on a router +title: Opsætning på en router sidebar_position: 1 --- -Learn how to set up AdGuard VPN for Linux on a router. +Læs, hvordan AdGuard VPN til Linux opsættes på en router. -- [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) +- [Vejledning til Keenetic-routere](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Vejledning til OpenWRT-routere](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -More instructions for other router brands and firmware options will be added here soon. +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) + +Flere vejledninger til andre routermærker og firmwaremuligheder tilføjes snart her. diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index fe9c228c4b..36645a6095 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -39,12 +39,12 @@ Man kan ikke blot føje websteder til Undtagelser, men også vælge blandt liste Undtagelser-listen kan nemt opsættes. Har man tilføjet et domæne og nogle af dets underdomæner, grupperes disse under roddomænet. Ved tilføjelse af et roddomæne (`eksempel.com`), tilføjes også dets maske (`*.eksempel.com`). -:::info Browsers added to Exclusions +:::info Webbrowsere føjet til Undtagelser -Starting with the version 2.4, all browsers are automatically added to the list of exclusions when the VPN is active only for selected apps and websites. This change brings more convenience for users who were often confused and didn’t know whether to consider their browsers as apps or not. It applies under the following conditions: +Fra og med version 2.4 føjes alle webbrowsere automatisk til listen over undtagelser, når VPN kun er aktiv for udvalgte apps og websteder. Denne ændring er mere bekvemmelig for brugere, som ofte var forvirrede og ikke vidste, om deres webbrowsere skulle betragtes som apps eller ej. Det gælder under flg. betingelser: -- The user has installed AdGuard VPN for the first time -- The user did not modify the Exclusions settings prior to v2.4 +- Brugeren har installeret AdGuard VPN for første gang +- Brugeren har ikke ændret indstillingerne for undtagelser før v2.4 ::: @@ -89,7 +89,7 @@ Til sidst er der fanen Indstillinger. I afsnittet *Om program* kan man se det ak De første fire basisfunktioner gør applikationen mere bekvem og brugervenlig, dvs. *Kill Switch*, *Auto-opdatering*, *Start AdGuard VPN ved login*og *Auto-tilslut ved app-start*. Derudover kan der vælges mellem lyse, mørke og systemtemaer – sidstnævnte matcher temaet på Mac'en. -Man kan også tillade AdGuard VPN at indsamle og indsende anonymiserede nedbrudsrapporter, tekniske data samt interaktionsdata for at hjælpe os med at forbedre appen. Sidst, men ikke mindst, kan man eksportere logfiler fra Mac'en. Dette kan være nyttigt, hvis disse ønskes vedhæftet en besked til supporten. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Sidst, men ikke mindst, kan man eksportere logfiler fra Mac'en. Dette kan være nyttigt, hvis disse ønskes vedhæftet en besked til supporten. ### DNS-servere diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/installation.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/installation.md index c9194bcd69..cb72a34a07 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/installation.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/installation.md @@ -43,7 +43,7 @@ Fungerer alm. afinstallation af en eller anden grund ikke, kan en avanceret meto ::: -1. Vælg *AdGuard VPN* og afinstallationstypen *Udvidet*, og klik dernæst på *Afinstallér*. Click *Yes, continue* in the window prompt: +1. Vælg *AdGuard VPN* og afinstallationstypen *Udvidet*, og klik dernæst på *Afinstallér*. Klik på *Ja, fortsæt* i vinduesprompten: ![Udvidet afinstallation *border](https://cdn.adguardvpn.com/content/kb/vpn/windows/vpn_extended.jpg) diff --git a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 5cc55d983c..8b4947e1f2 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN til Windows har mange fordele, så vi har dedikeret [en separat arti ## Komme i gang med at bruge AdGuard VPN til Windows -For at begynde at bruge AdGuard VPN til Windows, download først appen fra [vores websted](https://adguard-vpn.com/welcome.html). Installationen tager et minuts tid. Et dialogvindue vises, hvori mindst ét felt skal markeres, nemlig accept af Vilkår for Brug samt Fortrolighedspolitik. Det er dog valgfrit, hvorvidt AdGuard skal tillades at indsamle anonymiserede data om app-brugen. Til sidst vil programmet anmode om, at der logges ind via enten en [AdGuard-konto](https://auth.adguard.com/login.html) eller sociale netværk (Apple, Google, Facebook). Det er alt, man kan nu begynde at bruge AdGuard VPN til Windows. +For at begynde at bruge AdGuard VPN til Windows, download først appen fra [vores websted](https://adguard-vpn.com/welcome.html). Installationen tager et minuts tid. Et dialogvindue vises, hvori mindst ét felt skal markeres, nemlig accept af Vilkår for Brug samt Fortrolighedspolitik. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Til sidst vil programmet anmode om, at der logges ind via enten en [AdGuard-konto](https://auth.adguard.com/login.html) eller sociale netværk (Apple, Google, Facebook). Det er alt, man kan nu begynde at bruge AdGuard VPN til Windows. ## Startskærm @@ -43,18 +43,18 @@ Når domæner tilføjes manuelt, bør der tages højde for visse detaljer. Undta Vi anbefaler at bruge indstillingen **Fra listen**. Websteder grupperes i otte kategorier: Sociale netværk, Messengers, Video- og musikstreamingtjenester, Spil, Shopping, Søgemaskiner og Arbejdskommunikationsværktøjer. Vi har placeret de mest populære tjenester dér, inkl. alle domænenavne og underdomæner relateret til hver platform. -:::info Browsers added to Exclusions +:::info Webbrowsere føjet til Undtagelser -Starting with the version 2.4, all browsers are automatically added to the list of exclusions when the VPN is active only for selected apps and websites. This change brings more convenience for users who were often confused and didn’t know whether to consider their browsers as apps or not. It applies under the following conditions: +Fra og med version 2.4 føjes alle webbrowsere automatisk til listen over undtagelser, når VPN kun er aktiv for udvalgte apps og websteder. Denne ændring er mere bekvemmelig for brugere, som ofte var forvirrede og ikke vidste, om deres webbrowsere skulle betragtes som apps eller ej. Det gælder under flg. betingelser: -- The user has installed AdGuard VPN for the first time -- The user did not modify the Exclusions settings prior to v2.4 +- Brugeren har installeret AdGuard VPN for første gang +- Brugeren har ikke ændret indstillingerne for undtagelser før v2.4 ::: ### Import/eksport af undtagelseslister -For at eksportere undtagelseslisten fra AdGuard VPN til Windows til computeren, klik på **Eksportere undtagelser**, vælg mappen, hvor listen skal gemmes, og klik på **Gem**. Arkivfilen `exclusions.zip` med to `.txt`-filer downloades, én for hver af listerne. Nye undtagelser tilføjes, eller gamle kan slettes, ved at redigere dem. +For at eksportere undtagelseslisten fra AdGuard VPN til Windows til computeren, klik på **Eksportere undtagelser**, vælg mappen, hvor listen skal gemmes, og klik på **Gem**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Nye undtagelser tilføjes, eller gamle kan slettes, ved at redigere dem. Åbn AdGuard VPN på destinationsenheden, klik på *Undtagelser* og vælg *Websteder* eller *Apps*. Klik på *Importér undtagelser* og vælg det modtagne arkiv. diff --git a/i18n/da/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/da/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 4beb65f50f..9aa2012598 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -43,7 +43,7 @@ Ud over disse VPN-protokoller findes der andre (f.eks. TLS, SSTP, IKEv2), men de protocol 6 -AdGuard VPN har også sin egen [_protokol_](/general/adguard-vpn-protokol). En af dens fordele er, at trafik sendt vha. AdGuard VPN-protokollen er svær at skelne fra almindelig trafik. The VPN tunnel looks like normal HTTPS traffic, making it extremely difficult to detect and block. Den er desuden baseret på mekanismerne i den moderne HTTP/2-protokol, hvilket sikrer høj forbindelseshastighed. +AdGuard VPN har også sin egen [_protokol_](/general/adguard-vpn-protokol). En af dens fordele er, at trafik sendt vha. AdGuard VPN-protokollen er svær at skelne fra almindelig trafik. VPN-tunnelen ligner normal HTTPS-trafik, hvilket gør den ekstremt svært at opdage og blokere. Den er desuden baseret på mekanismerne i den moderne HTTP/2-protokol, hvilket sikrer høj forbindelseshastighed. protocol 5 @@ -69,7 +69,7 @@ Vores VPN-tjeneste har flere vigtige [fordele](/general/why-adguard-vpn): - [_Proprietær VPN-protokol_](/general/adguard-vpn-protocol), der fungerer stabilt selv på en langsom internetforbindelse og camouflerer sig som normal trafik, hvilket gør den sværere at spore og blokere -- [_Nul logning-politik_](https://adguard-vpn.com/privacy.html), hvilket betyder, at ingen personlige data kan overføres til tredjeparter, fordi AdGuard VPN aldrig indsamler sådanne data +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _Flere end 50 VPN-servere i snesevis af lande_ @@ -83,4 +83,8 @@ Pt. er AdGuard VPN tilgængelig som: - Computerapplikation til [Windows](/adguard-vpn-for-windows/overview) og [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Læs mere om AdGuard VPN-funktioner](https://adguard-vpn.com/welcome.html) diff --git a/i18n/da/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/da/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 4dc91a3f8d..c26b41cf84 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,11 +3,11 @@ title: Sådan opsættes AdGuard VPN på en router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note -This option is only available if you have an AdGuard VPN subscription and your router supports IPsec in its _VPN Client_ (**Not** _VPN Server_) settings. +Denne mulighed er kun tilgængelig med et AdGuard VPN-abonnement og en router, hvis indstillinger understøtter IPsec for _VPN-klient_ (**ikke** _VPN-server_). ::: @@ -33,7 +33,7 @@ This option is only available if you have an AdGuard VPN subscription and your r 5. Aktivér _VPN-klient_ og klik på _Tilføj VPN-server_. -6. Select IPsec-client (it may for some router brands be called IKEv2; not L2TP/IPsec). +6. Vælg IPsec-klient (den kan på visse routermærker hedde IKEv2; ikke L2TP/IPsec). 7. Angiv legitimationsoplysningerne oprettet på trin 3. @@ -51,11 +51,11 @@ Routerindstillingerne vil skulle opdateres, hvis der ændres VPN-serverlokation. - Med AdGuard VPN på routeren har hverken VPN-udbyderen eller nogen andre adgang til internetaktiviteten - Installation af AdGuard VPN på routeren sikrer hele netværket, hvilket betyder, at alle enheder, som er tilsluttet det, er beskyttet -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Enheder, som kan tilsluttes en router med AdGuard VPN -- **PlayStation, Xbox, and Nintendo Switch**: To enjoy seamless online gaming and enhanced security on PS4, PS5, Xbox One, Xbox Series, and Nintendo Switch, [set up AdGuard VPN on your router](#how-to-set-up-adguard-vpn-on-your-router) and connect your console to it +- **PlayStation, Xbox og Nintendo Switch**: For problemfri onlinespil og forbedret sikkerhed på PS4, PS5, Xbox One, Xbox Series og Nintendo Switch, [opsæt AdGuard VPN på routeren](#how-to-set-up-adguard-vpn-on-your-router) og forbind konsollen til den - **Apple TV**: Følg vejledningen for at [opsætte AdGuard VPN på routeren](#how-to-set-up-adguard-vpn-on-your-router) og dernæst tilslutte Apple TV'et @@ -71,8 +71,8 @@ Routerindstillingerne vil skulle opdateres, hvis der ændres VPN-serverlokation. 2. Hvis man allerede har en AdGuard-konto, log ind på kontoen. Er man ny AdGuard-bruger, angiv en e-mailadresse og følg skærmvejledningen 3. Åbn appen, vælg den ønskede lokation, og opret forbindelse -## Routers known to be incompatible with AdGuard VPN +## Routere kendt for at være inkompatible med AdGuard VPN - **ASUS** - - Only has IPsec in the _VPN Server_ settings, and not in the correct _VPN Fusion_/_VPN Client_ settings + - Har kun IPsec i _VPN Server_-indstillingerne og ikke i de korrekte _VPN Fusion_/_VPN Client_-indstillinger - **FRITZ!Box** diff --git a/i18n/da/docusaurus-plugin-content-docs/current/general/vpn-issues.md b/i18n/da/docusaurus-plugin-content-docs/current/general/vpn-issues.md index d9e05e9433..b76963c923 100644 --- a/i18n/da/docusaurus-plugin-content-docs/current/general/vpn-issues.md +++ b/i18n/da/docusaurus-plugin-content-docs/current/general/vpn-issues.md @@ -3,7 +3,7 @@ title: 'Sådan benyttes AdGuard VPN i lande med internetrestriktioner' sidebar_position: 10 --- -In certain regions, such as China, Iran, and Russia, users might experience problems connecting to AdGuard VPN. Her er de tiltag, som kan hjælpe. +I visse regioner, såsom Kina, Iran og Rusland, kan brugere have problemer med at oprette forbindelse til AdGuard VPN. Her er de tiltag, som kan hjælpe. ## Adgang til AdGuard VPNs websted @@ -25,7 +25,7 @@ Efter man har ændret region eller knyttet en anden konto til App Store, [instal ### AdGuard VPN til Android -If you experience problems with Google Play, download the APK file from [AdGuard VPN’s mirror website](https://adguardvpn-help.com/android/overview.html). +Opleves problemer på Google Play, download i stedet APK-filen fra [AdGuard VPNs spejlwebsted](https://adguardvpn-help.com/android/overview.html). ### AdGuard VPN til Mac diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index d1db69670e..596c8497b6 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ Der letzte Abschnitt von *Erweiterten Einstellungen* ist *Low-Level-Einstellunge :::caution -Bevor Sie bei der Option **Bevorzugte IP-Version** zwischen IPv6 und IPv4 wählen, stellen Sie sicher, dass Ihr Netzwerk dieses Protokoll unterstützt. Wenn Sie z. B. IPv6 auswählen und Ihr Netzwerk nur IPv4 unterstützt, können Probleme bei der Verbindung mit dem Internet auftreten. Und umgekehrt. +Bevor Sie bei der Option **Bevorzugte IP-Version** zwischen IPv6 und IPv4 wählen, stellen Sie sicher, dass Ihr Netzwerk dieses Protokoll unterstützt. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. Und umgekehrt. ::: diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index ed108d06c3..6847fb1a2a 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ Mit einem VPN können Sie eine sichere Verbindung zu einem anderen Netzwerk im I AdGuard VPN verfügt über mehrere Funktionen: -- verbirgt Ihren tatsächlichen Aufenthaltsort und hilft Ihnen, anonym zu bleiben -- ändert Ihre IP-Adresse, um Ihre Daten vor Verfolgung zu schützen -- verschlüsselt Ihren Datenverkehr und macht den Inhalt für Betrüger unzugänglich -- lässt Sie konfigurieren, wo VPN verwendet werden soll und wo nicht (Ausschlussfunktion) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) Der nächste Vorteil von AdGuard VPN für iOS ist unser eigenes VPN-Protokoll. Im Vergleich zu anderen VPN-Protokollen ist es extrem schwer zu erkennen und selbst bei einer schlechten Internetverbindung stabil. [Erfahren Sie mehr über das AdGuard VPN-Protokoll](/general/adguard-vpn-protocol). diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 5527971d22..d9af015f2d 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: AdGuard VPN automatisieren In AdGuard VPN für iOS gibt es keine App-Ausschlüsse. Es gibt jedoch eine Möglichkeit, AdGuard VPN für Apps auf iPhones und iPads zu automatisieren. -## Automatische Aktivierung von AdGuard VPN einrichten +## Configuring automatic connection to VPN Wenn Sie ein VPN für eine oder mehrere Apps benötigen, richten Sie AdGuard VPN so ein, dass es beim Öffnen und Schließen automatisch ein- und ausgeschaltet wird. Wechseln Sie zur Registerkarte „Ausschlüsse“, wählen Sie den Modus „Allgemein“ und folgen Sie den Anweisungen. Hier beschreiben wir, wie Sie eine Automatisierung für Twitter erstellen, aber Sie können jede andere App auswählen. @@ -28,7 +28,7 @@ Wenn Sie ein VPN für eine oder mehrere Apps benötigen, richten Sie AdGuard VPN Jetzt wird AdGuard VPN automatisch aktiviert, wenn Sie die Twitter-App starten. Nun müssen Sie einen weiteren Befehl erstellen, der AdGuard VPN automatisch deaktiviert, wenn Sie die App schließen. -## Automatische Deaktivierung von AdGuard VPN einrichten +## Configuring automatic disconnection from VPN ![Anweisung. Teil 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index bb63c2a240..57a655cdf0 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: So richten Sie AdGuard VPN für Linux auf einem Keenetic-Router ein -sidebar_position: 3 +sidebar_position: 2 --- :::info Systemanforderungen @@ -35,7 +35,7 @@ ipconfig ### Unter macOS und Linux -1. Öffnen Sie das Terminal und führen Sie es unter Linux aus: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Ersetzen Sie `192.168.1.1` durch die IP-Adresse Ihres Routers. 1. Wenn Sie sich zum ersten Mal über SSH mit dem Router verbinden, werden Sie eine Meldung sehen wie diese: -```bash +```text Die Authentizität des Hosts '192.168.1.1 (192.168.1.1)' konnte nicht festgestellt werden. Der Fingerabdruck des ECDSA-Schlüssels lautet SHA256:... Möchten Sie die Verbindung wirklich fortsetzen (Ja/Nein/[Fingerabdruck])? @@ -107,7 +107,7 @@ Eine ausführliche Anleitung finden Sie im [offiziellen Keenetic-Wiki](https://h ### So installieren Sie OPKG Entware im internen Speicher des Routers -Diese Methode funktioniert mit den folgenden Modellen: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 mit der KeeneticOS Version 3.7 und höher. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. Eine ausführliche Anleitung finden Sie im [offiziellen Keenetic-Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ Führen Sie in Ihrem SSH-Client den folgenden Code aus, um die für AdGuard VPN opkg install curl sudo ca-certificates ``` -Öffnen Sie den Ordner `cd/opt` und führen Sie das AdGuard VPN CLI Installationsskript aus: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -Auf die Frage `Möchten Sie die Binärdatei mit /usr/local/bin verknüpfen?`, antworten Sie mit `y`. Wenn Sie die Binärdatei nicht verknüpfen können, führen Sie diese Zeile aus: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Mit VPN verbinden - Importieren Sie das SSL-Zertifikat vor der Verbindung, indem Sie diesen Befehl ausführen: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` Dies muss vor jeder Sitzung ausgeführt werden. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN wählt den schnellsten verfügbaren Standort und merkt sich diesen für zukünftige schnelle Verbindungen. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Passen Sie Ihre Einstellungen an. @@ -233,15 +234,15 @@ Dieser Schritt dient dazu, Firewall-Regeln auf einem Keenetic-Router zu konfigur ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ Dieser Schritt dient dazu, Firewall-Regeln auf einem Keenetic-Router zu konfigur chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + Dadurch wird ein neues Shell-Skript mit dem Namen `001-adguardvpn.sh` im Ordner `/opt/etc/ndm/netfilter.d/` erstellt, in dem netzwerkbezogene Skripte normalerweise auf einem Keenetic-Router gespeichert werden. Das Skript erstellt eine benutzerdefinierte Firewall-Regel, um sicherzustellen, dass der Datenverkehr aus Ihrem LAN (`br0`) über die AdGuard VPN-Schnittstelle (`tun0`) geleitet wird. Er bereinigt zunächst alle früheren Regeln, die sich auf diese Konfiguration beziehen, und erstellt anschließend neue Regeln, um den Datenverkehr entsprechend zu leiten. @@ -278,7 +281,7 @@ Und machen Sie es ausführbar: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -Das Skript mit dem Namen `001-adguardvpn.sh` wird in `/opt/etc/ndm/wan.d/` gespeichert. +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. AdGuard VPN wird gestartet, sobald eine Internetverbindung besteht. diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index 6d2e5544a1..7d21e14b31 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: So richten Sie AdGuard VPN für Linux auf einem OpenWRT-Router ein -sidebar_position: 2 +sidebar_position: 3 --- :::info Systemanforderungen @@ -251,7 +251,7 @@ stop() { } ``` -Führen Sie dies aus, um den Zugriff für den automatischen Start zu gewähren und ihn zu aktivieren: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index 737756795c..2333dc9054 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Erfahren Sie, wie Sie AdGuard VPN für Linux auf einem Router einrichten. +- [Anleitung für Keenetic-Router](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Anleitung für OpenWRT-Router](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Anleitung für Keenetic-Router](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) Weitere Anleitungen für andere Router-Marken und Firmware-Optionen werden hier bald hinzugefügt. diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 7dad4ff4f5..68b225018a 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Schließlich kommen wir zur Registerkarte Einstellungen. Im Abschnitt *Über das Die ersten vier Grundfunktionen machen die App bequemer und benutzerfreundlicher, d.h. *Kill Switch*, *Automatisch aktualisieren*, *AdGuard VPN bei der Anmeldung starten* und *Automatisch beim App-Start verbinden*. Darüber hinaus können Sie zwischen hellen, dunklen und Systemthemen wählen – letzteres entspricht dem Thema auf Ihrem Mac. -Sie können AdGuard VPN außerdem erlauben, anonyme Absturzberichte, technische Daten und Interaktionsdaten zu sammeln und zu übermitteln, um uns bei der Verbesserung unserer App zu helfen. Zu guter Letzt können Sie Protokolle von Ihrem Mac exportieren. Dies kann nützlich sein, wenn Sie Protokolle an Ihre Nachricht an den Support anhängen möchten. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Zu guter Letzt können Sie Protokolle von Ihrem Mac exportieren. Dies kann nützlich sein, wenn Sie Protokolle an Ihre Nachricht an den Support anhängen möchten. ### DNS-Server diff --git a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 6282b6df34..98e688696f 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN für Windows hat viele Vorteile, daher haben wir ihnen [separaten Ar ## So verwenden Sie AdGuard VPN für Windows -Um AdGuard VPN für Windows zu nutzen, laden Sie die App von [unserer Website](https://adguard-vpn.com/welcome.html) herunter. Die Installation dauert nicht länger als eine Minute – und Sie sehen ein Dialogfenster, in dem Sie mindestens ein Kästchen ankreuzen müssen, um die Bedingungen der Benutzervereinbarung und der Datenschutzerklärung anzuwenden. Es liegt an Ihnen zu entscheiden, ob Sie möchten, dass AdGuard anonymisierte Daten über Ihre App-Nutzung sammelt. Zuletzt fordert Sie das Programm auf, sich anzumelden, entweder über [AdGuard-Konto](https://auth.adguard.com/login.html) oder über soziale Netzwerke (Apple, Google, Facebook). Danach können Sie AdGuard VPN für Windows verwenden. +Um AdGuard VPN für Windows zu nutzen, laden Sie die App von [unserer Website](https://adguard-vpn.com/welcome.html) herunter. Die Installation dauert nicht länger als eine Minute – und Sie sehen ein Dialogfenster, in dem Sie mindestens ein Kästchen ankreuzen müssen, um die Bedingungen der Benutzervereinbarung und der Datenschutzerklärung anzuwenden. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Zuletzt fordert Sie das Programm auf, sich anzumelden, entweder über [AdGuard-Konto](https://auth.adguard.com/login.html) oder über soziale Netzwerke (Apple, Google, Facebook). Danach können Sie AdGuard VPN für Windows verwenden. ## Startseite @@ -54,7 +54,7 @@ Ab der Version 2.4 werden alle Browser automatisch zur Liste der Ausnahmen hinzu ### Ausschlusslisten importieren/exportieren -Um die Ausschlussliste von AdGuard VPN für Windows auf Ihren Computer zu exportieren, klicken Sie auf **Ausschlüsse exportieren**, wählen Sie den Ordner aus, in dem die Liste gespeichert werden soll, und klicken Sie auf **Speichern**. Das Archiv `exclusions.zip` mit zwei `.txt` Dateien wird heruntergeladen, eine für jede der Listen. Sie können sie bearbeiten, indem Sie neue Ausschlüsse hinzufügen oder alte löschen. +Um die Ausschlussliste von AdGuard VPN für Windows auf Ihren Computer zu exportieren, klicken Sie auf **Ausschlüsse exportieren**, wählen Sie den Ordner aus, in dem die Liste gespeichert werden soll, und klicken Sie auf **Speichern**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Sie können sie bearbeiten, indem Sie neue Ausschlüsse hinzufügen oder alte löschen. Öffnen Sie auf dem Zielgerät AdGuard VPN, klicken Sie auf *Ausschlüsse*, und wählen Sie *Websites* oder *Apps*. Klicken Sie auf *Ausschlüsse importieren* und wählen Sie das empfangene Archiv aus. diff --git a/i18n/de/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/de/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 0a5ca923d4..6efb047e11 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Unser VPN-Dienst hat mehrere wichtige [Vorteile](/general/why-adguard-vpn): - [_Proprietäres VPN-Protokoll_](/general/adguard-vpn-protocol), das auch bei einer langsamen Internetverbindung stabil funktioniert und sich als normaler Datenverkehr tarnt, so dass es schwieriger ist, ihn zu verfolgen und zu sperren -- [_^Nichts-wird-protolliert-Richtlinie_] (https://adguard-vpn.com/privacy.html), was bedeutet, dass AdGuard VPN Ihre persönlichen Daten nicht sammelt und nicht an Dritte weitergibt +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _Mehr als 50 VPN-Server in Dutzenden von Ländern_ @@ -83,4 +83,8 @@ Derzeit ist AdGuard VPN verfügbar als: - Desktop-Anwendung für [Windows](/adguard-vpn-for-windows/overview) und [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Erfahren Sie mehr über die Funktionen von AdGuard VPN](https://adguard-vpn.com/welcome.html) diff --git a/i18n/de/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/de/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 94f029180d..07a215da24 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: So richten Sie ein AdGuard VPN auf Ihrem Router ein sidebar_position: 8 --- -Wenn Sie AdGuard VPN auf Ihrem Router einrichten, können Sie Ihre Daten auf Geräten schützen, auf denen Sie keine VPN-Apps installieren können, wie z. B. Smart-TVs, Smart-Media-Geräte und Spielkonsolen. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ Wenn Sie den Standort des VPN-Servers ändern möchten, müssen Sie die Einstell - Mit AdGuard VPN auf Ihrem Router haben weder Ihr VPN-Anbieter noch andere Personen Zugriff auf Ihre Internetaktivitäten - Die Installation von AdGuard VPN auf Ihrem Router sichert Ihr gesamtes Netzwerk, d. h. alle daran angeschlossenen Geräte sind geschützt -- Sie können die Sicherheit erhöhen und Ihre Daten auf Geräten schützen, auf denen es nicht möglich ist, AdGuard VPN-Apps zu installieren — Smart TVs, Smart Media-Geräte und Spielkonsolen +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Geräte, die mit einem Router mit AdGuard VPN verbunden werden können diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 0383b95032..8592ec3da4 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ La última sección de *Configuración avanzada* es *Configuración de bajo nive :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index a6eff009eb..7681bbf030 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ Una VPN le permite crear una conexión segura a otra red en Internet. It connect AdGuard VPN tiene varias funciones: -- oculta tu paradero real y te ayuda a permanecer en el anonimato -- cambia tu dirección IP para proteger tus datos del seguimiento -- cifra tu tráfico y hace que los contenidos sean inaccesibles para los estafadores -- le permite configurar dónde usar VPN y dónde no (función de exclusiones) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) La siguiente ventaja de AdGuard VPN para iOS es nuestro propio protocolo VPN. Es extremadamente difícil de detectar en comparación con otros protocolos VPN y es estable incluso con una mala conexión a Internet. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 7d6c53a775..b45d42260d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Cómo configurar la automatización de AdGuard VPN No hay exclusiones de aplicaciones en AdGuard VPN para iOS. Sin embargo, existe una manera de automatizar AdGuard VPN para aplicaciones en iPhone y iPad. -## Configuración de la activación automática de AdGuard VPN +## Configuring automatic connection to VPN Si necesita una VPN para una o más aplicaciones, configure AdGuard VPN para que se active y desactive automáticamente cuando las abra y las cierre. Vaya a la pestaña Exclusiones, seleccione el modo General y siga las instrucciones. Aquí describimos cómo crear automatización para Twitter, pero puede elegir cualquier otra aplicación. @@ -28,7 +28,7 @@ Si necesita una VPN para una o más aplicaciones, configure AdGuard VPN para que Ahora tienes un nuevo escenario: AdGuard VPN se activará automáticamente al iniciar la aplicación de Twitter. Ahora debes crear otro comando que haga que AdGuard VPN se apague automáticamente cuando cierres la aplicación. -## Configuración del apagado automático de AdGuard VPN +## Configuring automatic disconnection from VPN ![Instrucción. Parte 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 10b141b87d..91c35ac493 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finalmente, llegamos a la pestaña Configuración. En la sección *Acerca del pr Las primeras cuatro características básicas hacen que la aplicación sea más conveniente y fácil de usar, es decir *Kill Switch*, *Actualización automática*, *Iniciar AdGuard VPN al iniciar sesión*y *Conexión automática al iniciar la aplicación*. Además, puedes elegir entre temas claros, oscuros y del sistema; el último coincide con el tema de tu Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. Esto puede ser útil si quieres adjuntar registros a tu mensaje para el soporte. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. Esto puede ser útil si quieres adjuntar registros a tu mensaje para el soporte. ### Servidores DNS diff --git a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index ad9a962f07..aaa3835015 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## Cómo empezar a usar AdGuard VPN para Windows -Para comenzar a usar AdGuard VPN para Windows, descarga la aplicación desde [nuestro sitio web](https://adguard-vpn.com/welcome.html). La instalación no lleva más de un minuto, y verás una ventana de diálogo en la que tendrás que marcar al menos una casilla para aplicar los términos del Acuerdo de Usuario y la Política de Privacidad. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. Por último, el programa le pedirá que inicie sesión, ya sea a través de la [Cuenta de AdGuard](https://auth.adguard.com/login.html) o a través de las redes sociales (Apple, Google, Facebook). Eso es todo, ahora puede usar AdGuard VPN para Windows. +Para comenzar a usar AdGuard VPN para Windows, descarga la aplicación desde [nuestro sitio web](https://adguard-vpn.com/welcome.html). La instalación no lleva más de un minuto, y verás una ventana de diálogo en la que tendrás que marcar al menos una casilla para aplicar los términos del Acuerdo de Usuario y la Política de Privacidad. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Por último, el programa le pedirá que inicie sesión, ya sea a través de la [Cuenta de AdGuard](https://auth.adguard.com/login.html) o a través de las redes sociales (Apple, Google, Facebook). Eso es todo, ahora puede usar AdGuard VPN para Windows. ## Pantalla de inicio @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Importar/exportar listas de exclusión -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/es/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/es/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 24e51367e9..a6a4010cbb 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 828113e8f8..8f09486ae0 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/fi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/fi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index ef5ee1cb4d..c202fedd8f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ La dernière section des *Paramètres avancés* est *Paramètres de bas niveau*. :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 7558782c86..42734030a7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ Un VPN vous permet de créer une connexion sécurisée à un autre réseau sur I AdGuard VPN a plusieurs fonctions : -- dissimule votre localisation réelle et vous aide à rester anonyme -- il modifie votre adresse IP pour protéger vos données contre le suivi -- il crypte votre trafic et rend le contenu inaccessible aux escrocs -- vous permet de configurer où utiliser le VPN et où ne pas le faire (fonction d'exclusions) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) L'avantage suivant d'AdGuard VPN pour iOS est notre propre protocole VPN. Il est extrêmement difficile à détecter par rapport aux autres protocoles VPN et reste stable même avec une mauvaise connexion Internet. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 787c0e38dc..a873807d01 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Comment configurer l'automatisation AdGuard VPN Il n'y a pas d'exclusions d'applications dans AdGuard VPN pour iOS. Pourtant, il existe un moyen d'automatiser AdGuard VPN pour les applications sur iPhone et iPad. -## Configuration de l'activation automatique de AdGuard VPN +## Configuring automatic connection to VPN Si vous avez besoin d'un VPN pour une ou plusieurs applications, configurez AdGuard VPN pour qu'il s'active et se désactive automatiquement lorsque vous les ouvrez et les fermez. Accédez à l'onglet Exclusions, sélectionnez le mode Général et suivez les instructions. Nous décrivons ici comment créer une automatisation pour Twitter, mais vous pouvez choisir toute autre application. @@ -28,7 +28,7 @@ Si vous avez besoin d'un VPN pour une ou plusieurs applications, configurez AdGu Vous avez maintenant un nouveau scénario : AdGuard VPN sera automatiquement activé lorsque vous démarrerez l'application Twitter. Vous devez maintenant créer une autre commande qui désactivera automatiquement AdGuard VPN lorsque vous fermerez l'application. -## Configuration de l'arrêt automatique de AdGuard VPN +## Configuring automatic disconnection from VPN ![Manuel. Partie 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index f240213749..464ef03e8b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Enfin, nous arrivons à l'onglet Paramètres. Dans la section *À propos du prog The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. De plus, vous pouvez choisir entre des thèmes clairs, sombres et système - ce dernier correspond au thème de votre Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. Cela peut être utile si vous voulez joindre des journaux à votre message au support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. Cela peut être utile si vous voulez joindre des journaux à votre message au support. ### Serveurs DNS diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index a06973285b..6c9f978c3c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Importation/exportation des listes des exclusions -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/fr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/fr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 24e51367e9..a6a4010cbb 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 828113e8f8..8f09486ae0 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/hr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/hr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/hr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/hr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/hr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/it/docusaurus-plugin-content-docs/current.json b/i18n/it/docusaurus-plugin-content-docs/current.json index 6bd8008202..95d909ebb0 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current.json +++ b/i18n/it/docusaurus-plugin-content-docs/current.json @@ -44,7 +44,7 @@ "description": "The label for category AdGuard VPN browser extensions in sidebar sidebar" }, "sidebar.sidebar.category.solving-problems": { - "message": "risoluzione dei problemi", + "message": "risoluzione-dei-problemi", "description": "The label for category solving-problems in sidebar sidebar" }, "sidebar.sidebar.category.AdGuard VPN for Linux": { diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index cb075675dd..d11fe2c188 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ L'ultima sezione di *Impostazioni avanzate* è *Impostazioni di basso livello*. :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 82125e465a..b7f8e5ee55 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ Una VPN consente di creare una connessione sicura a un'altra rete su Internet. I AdGuard VPN dispone di diverse funzioni: -- nasconde la tua vera posizione e ti aiuta a rimanere anonimo -- modifica il tuo indirizzo IP per proteggere i tuoi dati dal tracciamento -- crittografa il tuo traffico e rende i contenuti inaccessibili ai truffatori -- ti consente di configurare dove utilizzare la VPN e dove no (funzione di esclusione) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) Il prossimo vantaggio di AdGuard VPN per iOS è il nostro protocollo VPN. È estremamente difficile da rilevare rispetto ad altri protocolli VPN, ed è stabile persino con una connessione a Internet debole. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). @@ -65,7 +65,7 @@ You can do it in four steps: To open General settings: -1. Tap the Settings icon (⚙) in the bottom right corner of the app’s main screen. +1. Toccare il pulsante Impostazioni (⚙) nell'angolo in basso a destra della schermata principale dell'app. 2. Tap *General*. Here, you can configure AdGuard VPN for iOS as you need using different options: *DNS server*, *Theme*, *Advanced*, *Send technical and interaction data* and *Kill Switch*. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 47fd440282..11ad696ad3 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Come impostare l'automazione di AdGuard VPN Non è presente alcuna esclusione di app su AdGuard VPN per iOS. Tuttavia, è possibile automatizzare AdGuard VPN per le app su iPhone e iPad. -## Configurazione dell'attivazione automatica di AdGuard VPN +## Configuring automatic connection to VPN Se hai bisogno di una VPN per una o più app, configura AdGuard VPN in modo che si accenda e si spenga automaticamente quando le apri e le chiudi. Accedere alla scheda Esclusioni, selezionare la modalità Generale e seguire le istruzioni. Qui descriviamo come creare l'automazione per Twitter, ma puoi scegliere qualsiasi altra app. @@ -28,7 +28,7 @@ Se hai bisogno di una VPN per una o più app, configura AdGuard VPN in modo che Ora hai un nuovo scenario: AdGuard VPN verrà abilitato automaticamente quando avvii l'app Twitter. Ora è necessario creare un altro comando per far sì che AdGuard VPN si spenga automaticamente quando si chiude l'applicazione. -## Configurazione dell'arresto automatico di AdGuard VPN +## Configuring automatic disconnection from VPN ![Istruzioni. Parte 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 956b84b795..d4e511e89e 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finalmente, arriviamo alla scheda Impostazioni. Nella sezione *Informazioni sul Le prime quattro funzionalità di base rendono l'applicazione più comoda e intuitiva, ovvero *Kill Switch*, *Aggiornamento automatico*, *Avvia AdGuard VPN all'accesso* e *Connessione automatica all'avvio dell'app*. Inoltre, è possibile scegliere tra il tema chiaro, scuro e di sistema - quest'ultimo si adatta al tema del Mac. -Inoltre, puoi consentire ad AdGuard VPN di raccogliere e inviare rapporti anonimi sugli arresti anomali, dati tecnici e d'interazione, per poterci aiutare a migliorare l'app. Infine, ma non per importanza, puoi esportare i registri dal tuo Mac. Questo può essere utile se vuoi allegare i registri al tuo messaggio al supporto. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Infine, ma non per importanza, puoi esportare i registri dal tuo Mac. Questo può essere utile se vuoi allegare i registri al tuo messaggio al supporto. ### Server DNS diff --git a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 8ce9e089eb..5cc79849f3 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN per Windows presenta molti vantaggi, quindi, gli abbiamo dedicato [u ## Come iniziare a utilizzare AdGuard VPN per Windows -Per iniziare a utilizzare AdGuard VPN per Windows, scarica l'applicazione dal [nostro sito web](https://adguard-vpn.com/welcome.html). L'installazione non richiede più di un minuto, e vedrai una finestra in cui dovrai spuntare almeno una casella, applicando i termini dell'Accordo con gli Utenti e la Politica sulla privacy. E dipende da te decidere se desideri che AdGuard raccolga dati anonimi sul tuo utilizzo dell'app. Infine, il programma ti chiederà di accedere, tramite un [profilo di AdGuard](https://auth.adguard.com/login.html) o tramite social (Apple, Google, Facebook). È tutto, puoi ora utilizzare AdGuard VPN per Windows. +Per iniziare a utilizzare AdGuard VPN per Windows, scarica l'applicazione dal [nostro sito web](https://adguard-vpn.com/welcome.html). L'installazione non richiede più di un minuto, e vedrai una finestra in cui dovrai spuntare almeno una casella, applicando i termini dell'Accordo con gli Utenti e la Politica sulla privacy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Infine, il programma ti chiederà di accedere, tramite un [profilo di AdGuard](https://auth.adguard.com/login.html) o tramite social (Apple, Google, Facebook). È tutto, puoi ora utilizzare AdGuard VPN per Windows. ## Schermata Home @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Importare/esportare elenchi delle esclusioni -Per esportare l'elenco delle esclusioni da AdGuard VPN per Windows al tuo computer, clicca su **Esporta le esclusioni**, selezona la cartella in cui sarà archiviato l'elenco, e clicca su **Salva**. Sarà scaricato un archivio `exclusions.zip` con due file `.txt`, uno per ogni elenco. Puoi modificarli aggiungendo nuove esclusioni o eliminando quelle vecchie. +Per esportare l'elenco delle esclusioni da AdGuard VPN per Windows al tuo computer, clicca su **Esporta le esclusioni**, selezona la cartella in cui sarà archiviato l'elenco, e clicca su **Salva**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Puoi modificarli aggiungendo nuove esclusioni o eliminando quelle vecchie. Sul dispositivo di destinazione, apri AdGuard VPN, clicca su *Esclusioni* e seleziona *Siti web* o *App*. Clicca su *Importa esclusioni* e seleziona l'archivio ricevuto. diff --git a/i18n/it/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/it/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/it/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/it/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 26b914c867..a6c5d7cd37 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: Come configurare AdGuard VPN sul tuo router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ Dovrai aggiornare le impostazioni del tuo router, se desideri modificare la posi - Con AdGuard VPN sul tuo router, né il tuo fornitore VPN né chiunque altro ha accesso alla tua attività su Internet - Installare AdGuard VPN sul tuo router protegge la tua intera rete, a significare che tutti i dispositivi a essi connessi sono protetti -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/it/docusaurus-plugin-content-docs/current/general/why-adguard-vpn.md b/i18n/it/docusaurus-plugin-content-docs/current/general/why-adguard-vpn.md index 8b76690766..4c7154acef 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/general/why-adguard-vpn.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/general/why-adguard-vpn.md @@ -31,7 +31,7 @@ Consigliamo di utilizzare un server di AdGuard DNS: blocca gli annunci e i tracc ![Server DNS](https://cdn.adtidy.org/blog/new/lkarpag_dns_screen_en.png) -## 4. Località ultraveloci +## 4. Posizioni ultraveloci ![Posizioni dei server VPN](https://cdn.adguard.com/content/blog/articles/adguard-vpn/locations-en.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 15d58f71c4..d709ebe819 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ In this section, you can also export logs and system info to share them with sup :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index fa91b89e72..906329e267 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPNを利用すると、インターネット上の別のネットワークに AdGuard VPN には複数の機能があります: -- あなたの本当の居場所を隠し、匿名性を保てるようにします。 -- トラッキングからデータ・個人情報を保護するため、IPアドレスを変更します。 -- トラフィック(通信)を暗号化し、詐欺師やハッカーが通信内容にアクセスできないようにします。 -- VPNを使用するとしない場所を設定できます(「VPN対象外リスト「機能) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) AdGuard VPN for iOS のもう一つの利点は、独自開発のVPNプロトコルです。 他のVPNプロトコルに比べて検出対策がしっかりしていて、インターネット接続が悪くても通信が安定しています。 [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 022a0a6483..b5b1a826a1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: アプリごとにAdGuard VPNを常時オン・オフにする方 iOS用AdGuard VPN にはアプリをVPN対象から外しておく機能はありません。 しかし、iPhone・iPadのアプリごとに対して AdGuard VPN のオン・オフを自動化する代替方法があります。 -## AdGuard VPN の自動起動を設定する方法 +## Configuring automatic connection to VPN 特定のアプリを開くと自動的にAdGuard VPNがオンになり、そのアプリを閉じるとAdGuard VPNが自動的にオフになる方法のご紹介です。 まず、「VPN対象外リスト」(メイン画面下の真ん中のアイコン)→「レギュラー」モードを選択してください。 ※以下では、例として「Twitter」アプリに対するオートメーション作成方法を説明しておりますが、どのアプリに対しても同じ手順を使うことができます。 @@ -28,7 +28,7 @@ iOS用AdGuard VPN にはアプリをVPN対象から外しておく機能はあ これで、新しい自動オートメーションが出来上がりました。 Twitterアプリ(対象アプリ)を起動すると、AdGuard VPNが自動的に有効になります。 あとは、対象アプリ(この例では「Twitter」)を閉じたときに AdGuard VPN を自動的にオフにするもう一つのオートメーションを作成する必要があります。 -## AdGuard VPN の自動シャットダウンを設定する +## Configuring automatic disconnection from VPN ![手順 第1部](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_ja.jpg) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 09cf6ba7e3..488aa10ca7 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ The fourth tab is the *Support* screen. Find answers to any questions in the [FA The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. さらに、カラーテーマは「ライト」「ダーク」「システムに合わせる」から選ぶことができ、後者はMacのカラーテーマとAdGuard VPNのテーマを一致します。 -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. サポートへのメッセージにログを添付したい場合などに便利です。 +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. サポートへのメッセージにログを添付したい場合などに便利です。 ### DNSサーバー diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 3687b260a8..f340dac733 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### VPN対象外リストのインポート・エクスポート -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/ja/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/ja/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 0137b45b56..d73bb7fad9 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ In this section, you can also export logs and system info to share them with sup :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 54510a9141..3df26d7d37 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPN을 사용하면 인터넷의 다른 네트워크에 안전하게 연결할 AdGuard VPN에는 여러 가지 기능이 있습니다. -- 실제 위치를 숨기고 익명성을 유지합니다. -- 트래커로부터 데이터를 보호하기 위해 IP 주소를 변경합니다. -- 트래픽을 암호화하여 해커가 트래픽 내용에 액세스할 수 없도록 합니다. -- VPN을 사용하는 사이트와 사용하지 않는 사이트를 구성할 수 있습니다 (예외 목록). +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) iOS용 AdGuard VPN의 다음 장점은 자체 VPN 프로토콜입니다. AdGuard VPN 프로토콜은 다른 VPN 프로토콜에 비해 탐지하기가 매우 어렵고, 인터넷 연결 상태가 좋지 않은 경우에도 안정적입니다. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index a1fed00b15..feb235bb2a 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: AdGuard VPN 자동화 설정 방법 iOS용 AdGuard VPN에는 앱 예외 기능이 없습니다. 하지만 아이폰과 아이패드의 앱에 AdGuard VPN을 자동화할 수 있는 방법이 있습니다. -## AdGuard VPN 자동 활성화 설정하기 +## Configuring automatic connection to VPN 하나 이상의 앱에 VPN을 사용하려는 경우, iOS 기기에서 해당 앱에 대한 AdGuard VPN의 자동 활성화 및 비활성화를 설정할 수 있습니다. 예외 탭으로 이동하여 일반 모드를 선택하고 지침을 따르세요. 아래에서는 Twitter의 예를 사용하여 자동화를 만드는 방법을 보여드리겠습니다. @@ -28,7 +28,7 @@ iOS용 AdGuard VPN에는 앱 예외 기능이 없습니다. 하지만 아이폰 이제 Twitter 앱을 시작하면 AdGuard VPN이 자동으로 활성화됩니다. 하지만 Twitter 앱을 닫을 때 AdGuard VPN이 자동으로 꺼지도록 하는 또 다른 명령을 만들어야 합니다. -## AdGuard VPN 자동 종료 설정 +## Configuring automatic disconnection from VPN ![지침. 제1부](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 935cb9e7b3..bba446035d 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ The fourth tab is the *Support* screen. Find answers to any questions in the [FA *킬 스위치*, *자동 업데이트*, *로그인 시 AdGuard VPN 실행* 및 *앱 실행 시 자동 연결*과 같은 네 가지 기본 기능은 애플리케이션을 더욱 편리하고 사용자 친화적으로 만듭니다. 시스템 기본 테마, 다크 테마 또는 라이트 테마를 적용할 수 있습니다. 시스템 기본 테마는 Mac의 테마와 일치합니다. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. 이는 지원 팀에 보내는 메시지에 로그를 첨부하려는 경우에 유용할 수 있습니다. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. 이는 지원 팀에 보내는 메시지에 로그를 첨부하려는 경우에 유용할 수 있습니다. ### DNS 서버 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 75c3ca7375..46c88ccf53 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### 예외 목록 가져오기/내보내기 -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/ko/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/ko/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index fc802d1eb0..f12baebb3b 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 133c3c8e90..e4372ac8fd 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/nl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/nl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 17e02ac413..b88a63e329 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ A última seção de *Configurações avançadas* é *Configurações de nível :::caution -Na opção **Versão IP preferencial**, antes de escolher entre IPv6 e IPv4, certifique-se de que sua rede suporta esse protocolo. Por exemplo, se você selecionar IPv6 e sua rede só for compatível com IPv4, poderá ter problemas para se conectar à internet. E vice versa. +Na opção **Versão IP preferencial**, antes de escolher entre IPv6 e IPv4, certifique-se de que sua rede suporta esse protocolo. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. E vice versa. ::: diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 6c20949655..38355dfd81 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ Uma VPN permite que você crie uma conexão segura com outra rede na Internet. E O AdGuard VPN tem várias funções: -- esconde seu paradeiro real e ajuda você a permanecer anônimo -- ele altera seu endereço IP para proteger seus dados contra rastreamento -- criptografa seu tráfego e torna o conteúdo inacessível para golpistas -- permite que você configure onde usar e onde não usar a VPN (recurso de exclusões) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) A próxima vantagem do AdGuard VPN para iOS é que temos nosso próprio protocolo VPN. É extremamente difícil de detectar em comparação com outros protocolos VPN e é estável mesmo com uma conexão de Internet ruim. [Leia mais sobre o protocolo AdGuard VPN](/general/adguard-vpn-protocol). diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index de1f1104eb..1e29218133 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Como configurar a automação do AdGuard VPN Não há exclusões de aplicativos no AdGuard VPN para iOS. No entanto, existe uma maneira de automatizar o AdGuard VPN para aplicativos em iPhones e iPads. -## Configurando a ativação automática do AdGuard VPN +## Configuring automatic connection to VPN Se você precisar de uma VPN para um ou mais aplicativos, configure o AdGuard VPN para ativar e desativar automaticamente ao abri-los e fechá-los. Vá para a guia Exclusões, selecione o modo Geral e siga as instruções. Aqui descrevemos como criar automação para o Twitter, mas você pode escolher qualquer outro aplicativo. @@ -28,7 +28,7 @@ Se você precisar de uma VPN para um ou mais aplicativos, configure o AdGuard VP Agora você tem um novo cenário: o AdGuard VPN será ativado automaticamente quando você iniciar o aplicativo do Twitter. Agora você precisa criar outro comando que fará o AdGuard VPN desligar automaticamente quando você fechar o aplicativo. -## Configurando o desligamento automático do AdGuard VPN +## Configuring automatic disconnection from VPN ![Instruções. Parte 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index c8da292745..0884b0b357 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Por fim, chegamos à guia Configurações. Na seção *Sobre o programa*, você Os primeiros quatro recursos básicos tornam o aplicativo mais conveniente e fácil de usar, ou seja, *Kill Switch*, *Autoupdate*, *Iniciar AdGuard VPN no login*, e *Auto conectar no início da aplicação*. Além do mais, você pode escolher entre temas claros, escuros e do sistema - o último corresponde ao tema do seu Mac. -Você também pode permitir que o AdGuard VPN colete e envie relatórios de erros anônimos, dados técnicos e de interação para nos ajudar a melhorar nosso aplicativo. Por último, mas não menos importante, você pode exportar logs do seu Mac. Isso pode ser útil se você quiser anexar logs à sua mensagem para o suporte. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Por último, mas não menos importante, você pode exportar logs do seu Mac. Isso pode ser útil se você quiser anexar logs à sua mensagem para o suporte. ### Servidores DNS diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 19dc6bb389..8a03311bac 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ O AdGuard VPN para Windows tem muitas vantagens, por isso dedicamos [um artigo s ## Como começar a usar o AdGuard VPN para Windows -Para começar a usar o AdGuard VPN para Windows, baixe o aplicativo em [nosso site](https://adguard-vpn.com/welcome.html). A instalação não leva mais de um minuto — e você verá uma janela de diálogo onde precisará marcar pelo menos uma caixa aplicando os termos do Contrato do Usuário e a Política de Privacidade. E cabe a você decidir se deseja que o AdGuard colete dados anônimos sobre o uso do seu aplicativo. Por fim, o programa solicitará que você faça login, seja por meio da [conta do AdGuard](https://auth.adguard.com/login.html) ou por meio de redes sociais (Apple, Google, Facebook). Isso é tudo, agora você pode usar o AdGuard VPN para Windows. +Para começar a usar o AdGuard VPN para Windows, baixe o aplicativo em [nosso site](https://adguard-vpn.com/welcome.html). A instalação não leva mais de um minuto — e você verá uma janela de diálogo onde precisará marcar pelo menos uma caixa aplicando os termos do Contrato do Usuário e a Política de Privacidade. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Por fim, o programa solicitará que você faça login, seja por meio da [conta do AdGuard](https://auth.adguard.com/login.html) ou por meio de redes sociais (Apple, Google, Facebook). Isso é tudo, agora você pode usar o AdGuard VPN para Windows. ## Tela inicial @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Importar/exportar listas de exclusões -Para exportar a lista de exclusões do AdGuard VPN para Windows para o seu computador, clique em **Exportar exclusões**, selecione a pasta onde a lista será armazenada e clique em **Salvar**. Um arquivo `exclusions.zip` com dois arquivos `.txt` será baixado, um para cada lista. Você pode editá-los adicionando novas exclusões ou excluindo antigas. +Para exportar a lista de exclusões do AdGuard VPN para Windows para o seu computador, clique em **Exportar exclusões**, selecione a pasta onde a lista será armazenada e clique em **Salvar**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Você pode editá-los adicionando novas exclusões ou excluindo antigas. No dispositivo de destino, abra o AdGuard VPN, clique em *Exclusões* e selecione *Sites* ou *Aplicativos*. Clique em *Importar exclusões* e selecione o arquivo recebido. diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index babde637a9..4333f4932b 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Nosso serviço VPN tem várias [vantagens](/general/why-adguard-vpn) importantes - [_Protocolo VPN proprietário_](/general/adguard-vpn-protocol), que funciona de forma estável mesmo com uma conexão lenta com a Internet e se disfarça de tráfego normal, tornando mais difícil rastreá-lo e bloqueá-lo -- [_Política de não registro_](https://adguard-vpn.com/privacy.html), o que significa que o AdGuard VPN não coleta seus dados pessoais e não os transfere para terceiros +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _Mais de 50 servidores VPN em dezenas de países_ @@ -83,4 +83,8 @@ Atualmente, o AdGuard VPN está disponível como: - Aplicativo para desktop para [Windows](/adguard-vpn-for-windows/overview) e [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Saiba mais sobre os recursos do AdGuard VPN](https://adguard-vpn.com/welcome.html) diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 50d80e73ff..d703248b38 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: Como configurar o AdGuard VPN em seu roteador sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ Você precisará atualizar as configurações do roteador se quiser alterar o lo - Com o AdGuard VPN em seu roteador, nem seu provedor de VPN nem qualquer outra pessoa tem acesso à sua atividade na Internet - Instalar o AdGuard VPN em seu roteador protege toda a sua rede, o que significa que todos os dispositivos conectados a ele estão protegidos -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Dispositivos que podem ser conectados a um roteador com AdGuard VPN diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 5da6997839..21cb771274 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 828113e8f8..8f09486ae0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/pt/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/pt/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index ee57084d3b..04279d4b0d 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ sidebar_position: 1 :::caution -В параметре **Предпочитаемая версия IP**, прежде чем выбирать между IPv6 и IPv4, убедитесь, что ваша сеть поддерживает этот протокол. Например, если вы выберете IPv6, а ваша сеть поддерживает только IPv4, у вас могут возникнуть проблемы с подключением к интернету. И наоборот. +В параметре **Предпочитаемая версия IP**, прежде чем выбирать между IPv6 и IPv4, убедитесь, что ваша сеть поддерживает этот протокол. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. И наоборот. ::: diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 1c9a31b8f5..ea17d818e2 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPN создает защищенное соединение с другой с В AdGuard VPN есть несколько функций: -- скрывает ваше реальное местоположение и помогает вам оставаться анонимным -- изменяет ваш IP-адрес, чтобы защитить ваши данные от отслеживания -- шифрует ваш трафик, делая его содержимое недоступным для мошенников -- позволяет настроить, где использовать VPN, а где нет (списки исключений) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) Ещё одна характерная черта AdGuard VPN для iOS — это собственный VPN-протокол. Его очень сложно обнаружить по сравнению с другими VPN-протоколами, и он стабильно работает даже при плохом интернет-соединении. [Подробнее о протоколе AdGuard VPN](/general/adguard-vpn-protocol). diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 42c000d0c7..e6837fba96 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: Как автоматизировать работу AdGuard VPN В AdGuard VPN для iOS нет исключений приложений. Но есть способ автоматизировать работу AdGuard VPN для приложений на iPhone и iPad. -## Настройка автоматического включения AdGuard VPN +## Configuring automatic connection to VPN Если вам нужен VPN для одного или нескольких приложений, настройте автоматическое включение и выключение AdGuard VPN при их открытии и закрытии. Откройте вкладку Исключения, выберите Основной режим и следуйте инструкциям. Здесь мы описываем, как создать автоматизацию для Twitter, но вы можете выбрать любое другое приложение. @@ -28,7 +28,7 @@ sidebar_label: Как автоматизировать работу AdGuard VPN У вас появился новый сценарий: AdGuard VPN будет автоматически включаться при запуске приложения Twitter. Теперь необходимо создать ещё одну команду, благодаря которой AdGuard VPN будет автоматически выключаться при закрытии приложения. -## Настройка автоматического выключения AdGuard VPN +## Configuring automatic disconnection from VPN ![Инструкция. Часть 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 4a69401a02..6cf63d386e 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: Как настроить AdGuard VPN для Linux на роутере Keenetic -sidebar_position: 3 +sidebar_position: 2 --- :::info Системные требования @@ -35,7 +35,7 @@ ipconfig ### На macOS и Linux -1. Откройте Терминал и выполните эту команду на Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ ssh admin@192.168.1.1 1. Если вы впервые подключаетесь к роутеру через SSH, вы увидите такое сообщение: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ ssh admin@192.168.1.1 ### Как установить OPKG Entware во внутреннюю память роутера -Этот метод подходит для следующего списка моделей: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 с версией KeeneticOS 3.7 и выше. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. Подробные инструкции смотрите [на официальной странице Keenetic](https://help.keenetic.com/hc/ru/articles/360021888880-Установка-OPKG-Entware-на-встроенную-память-роутера). @@ -121,13 +121,13 @@ ssh admin@192.168.1.1 opkg install curl sudo ca-certificates ``` -Перейдите в папку `cd/opt` и запустите скрипт установки AdGuard VPN CLI: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -На вопрос `Хотите ли вы связать двоичный файл с /usr/local/bin?` ответьте `y`. Если вам не удалось связать двоичный файл, выполните эту строку: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Подключитесь к VPN - Перед подключением импортируйте SSL-сертификат, выполнив следующую команду: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` Это необходимо делать перед каждым сеансом. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN выберет самую быструю локацию и запомнит её для будущих быстрых подключений. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Настройте VPN @@ -213,7 +214,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli --help-all ``` -4. Введите `yes` на вопрос «Хотите ли вы установить маршруты по умолчанию в режиме TUN?» +4. Введите `yes` на вопрос Would you like to set default routes in TUN mode? AdGuard VPN CLI создаст интерфейс tun0 для VPN-туннелирования @@ -233,15 +234,15 @@ AdGuard VPN CLI создаст интерфейс tun0 для VPN-туннели ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ AdGuard VPN CLI создаст интерфейс tun0 для VPN-туннели chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + Это создаст новый скрипт оболочки с именем `001-adguardvpn.sh` в каталоге `/opt/etc/ndm/netfilter.d/`, где на роутере Keenetic обычно хранятся скрипты, связанные с сетью. Скрипт создаёт пользовательское правило фаервола, чтобы гарантировать, что трафик из вашей локальной сети (`br0`) будет направляться через интерфейс AdGuard VPN (`tun0`). Сначала он очищает все предыдущие правила, связанные с этой конфигурацией, а затем настраивает новые правила для правильной маршрутизации трафика. @@ -278,7 +281,7 @@ E0F chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -Скрипт с именем `001-adguardvpn.sh` будет сохранён в `/opt/etc/ndm/wan.d/`. +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. Он запустит AdGuard VPN при подключении к интернету. diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index 7bf4a7fe6f..55a1538a49 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: Как настроить AdGuard VPN для Linux на роутере OpenWRT -sidebar_position: 2 +sidebar_position: 3 --- :::info Системные требования @@ -251,7 +251,7 @@ stop() { } ``` -Выполните эту команду, чтобы предоставить доступ к автозапуску и включить его: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index 55017160ca..feca742725 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Узнайте, как настроить AdGuard VPN для Linux на роутере. +- [Инструкции для роутеров Keenetic](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Инструкции для роутеров OpenWRT](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Инструкции для роутеров Keenetic](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) В ближайшее время сюда будут добавлены инструкции для других марок роутеров и вариантов прошивок. diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 9e674ed64a..eb9eb6b412 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ AdGuard VPN для Mac поддерживается на версиях macOS, Первые четыре базовые функции делают приложение более удобным для пользователей — это *Kill Switch*, *Автообновление*, *Запуск при входе в систему* и *Автоподключение при запуске приложения*. Более того, вы можете выбирать между тремя темами — светлой, тёмной и системной. Последняя будет соответствовать теме вашего Mac. -А ещё вы можете разрешить AdGuard VPN собирать и отправлять анонимизированные отчёты о сбоях и технические данные, чтобы помочь нам улучшить наше приложение. И последнее, но не менее важное: вы можете экспортировать логи с вашего Mac. Это может быть полезно, если вы хотите прикрепить логи к сообщению в поддержку. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. И последнее, но не менее важное: вы можете экспортировать логи с вашего Mac. Это может быть полезно, если вы хотите прикрепить логи к сообщению в поддержку. ### DNS-серверы diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index c11d65ef38..091b0411fa 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ sidebar_position: 1 ## Как начать пользоваться AdGuard VPN для Windows -Чтобы начать пользоваться AdGuard VPN для Windows, скачайте приложение с [нашего сайта](https://adguard-vpn.com/welcome.html). Установка займёт не больше минуты — и вы увидите диалоговое окно, в котором потребуется поставить как минимум одну галочку, чтобы принять условия Пользовательского соглашения и Политики конфиденциальности. А вот давать ли AdGuard право собирать анонимные данные об использовании приложения на вашем устройстве или нет, решать вам. В завершении процесса установки программа попросит вас войти в систему, либо через [учётную запись AdGuard](https://auth.adguard.com/login.html), либо через социальные сети (Apple, Google, Facebook). Вот и всё, теперь вы можете начать пользоваться AdGuard VPN для Windows. +Чтобы начать пользоваться AdGuard VPN для Windows, скачайте приложение с [нашего сайта](https://adguard-vpn.com/welcome.html). Установка займёт не больше минуты — и вы увидите диалоговое окно, в котором потребуется поставить как минимум одну галочку, чтобы принять условия Пользовательского соглашения и Политики конфиденциальности. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. В завершении процесса установки программа попросит вас войти в систему, либо через [учётную запись AdGuard](https://auth.adguard.com/login.html), либо через социальные сети (Apple, Google, Facebook). Вот и всё, теперь вы можете начать пользоваться AdGuard VPN для Windows. ## Главный экран @@ -54,7 +54,7 @@ sidebar_position: 1 ### Импорт/экспорт списков исключений -Чтобы выгрузить список исключений из AdGuard VPN для Windows на ваш компьютер, нажмите **Экспортировать исключения**, выберите папку, где будет храниться список, и нажмите **Сохранить**. Будет загружен архив `exclusions.zip` с двумя файлами `.txt`, по одному для каждого из списков. Вы можете их редактировать, добавляя новые исключения или удаляя старые. +Чтобы выгрузить список исключений из AdGuard VPN для Windows на ваш компьютер, нажмите **Экспортировать исключения**, выберите папку, где будет храниться список, и нажмите **Сохранить**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Вы можете их редактировать, добавляя новые исключения или удаляя старые. На целевом устройстве откройте AdGuard VPN, нажмите *Исключения*и выберите *`Cайты* или *Приложения*. Нажмите *Импортировать исключения* и выберите полученный архив. @@ -120,7 +120,7 @@ WinTun — это драйвер маршрутизации трафика, об Во вкладке **О программе** вы найдёте информацию о текущей версии AdGuard VPN для Windows, кнопку проверки наличия обновлений, а также ссылки: на сайт AdGuard VPN, Лицензионное соглашение и Политику конфиденциальности. -### Личный кабинет +### Аккаунт Здесь размещена информация о статусе вашей лицензии, а также ссылка на ваш личный кабинет AdGuard, где вы можете купить новую подписку, улучшить или продлить уже существующую. diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/ru/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index af3a059cbf..4ae6cb3735 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ VPN создаёт туннель между вашим устройством - [_Собственный VPN-протокол_](/general/adguard-vpn-protocol), который стабильно работает даже при медленном интернет-соединении и маскируется под обычный трафик, что затрудняет его отслеживание и блокировку -- [_Политика без записи логов_](https://adguard-vpn.com/privacy.html), которая означает, что AdGuard VPN не собирает ваши личные данные и не передаёт их третьим лицам +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _Более 50 VPN-серверов в десятках стран_ @@ -83,4 +83,8 @@ VPN создаёт туннель между вашим устройством - Десктопное приложение для [Windows](/adguard-vpn-for-windows/overview) и [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Подробнее о функциях AdGuard VPN](https://adguardvpn-help.com/welcome.html) diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/ru/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 544a5034d5..6c9583d27b 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: Как настроить AdGuard VPN на роутере sidebar_position: 8 --- -Настроив AdGuard VPN на роутере, вы сможете защитить свои данные на устройствах, на которые нельзя установить VPN-приложения, например, на умных телевизорах и медиа-устройствах, игровых приставках. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ sidebar_position: 8 - С AdGuard VPN на роутере ни у вашего VPN-провайдера, ни у кого-либо ещё не будет доступа к вашим действиям в интернете - AdGuard VPN на роутере защищает всю вашу сеть, а это означает, что все подключённые к ней устройства будут в безопасности -- Вы можете повысить безопасность и защитить свои данные на устройствах, на которые невозможно установить приложения AdGuard VPN — смарт-телевизорах, медиа-устройствах и игровых консолях +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Устройства, которые можно подключить к роутеру с помощью AdGuard VPN diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 24e51367e9..a6a4010cbb 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 828113e8f8..8f09486ae0 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/sk/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/sk/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/sk/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/sk/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/sk/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 24e51367e9..a6a4010cbb 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 828113e8f8..8f09486ae0 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/sl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/sl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/sl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/sl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/sl/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 2967c733cc..f31cecd80e 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ Poslednji odeljak *Naprednih postavki* Je *Postavke najnižeg nivoa*. Apelujemo :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 865dd8f00e..c6c5c5f65b 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Konačno, dolazimo na karticu "Postavke". U *Osnovni podaci o programu* možete Prve četiri osnovne funkcije čine aplikaciju pogodnijim i prilagođenijim korisniku, pa naime. *Prekidač za ubijanje*, *Automatsko ažuriranje*, *Pokrenite AdGuard VPN pri uključivanju*I *Automatsko povezivanje pri pokretanju aplikacije*. Šta više, možete da birate između svetlih, tamnih i sistemskih tema – ova druga se podudara sa temom na vašem Mac računaru. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. Ovo može biti korisno ako želite da priložite evidencije u vašu poruku koju šaljete podršci. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. Ovo može biti korisno ako želite da priložite evidencije u vašu poruku koju šaljete podršci. ### DNS serveri diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/sr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/sr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/sr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/sr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/sr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 7bdae0180a..b0ec1961c5 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ Bu bölümde, destekle paylaşmak için günlükleri ve sistem bilgisini de dı :::caution -**Tercih edilen IP sürümü** seçeneğinde, IPv6 ve IPv4 arasında seçim yapmadan önce ağınızın bu protokolü desteklediğinden emin olun. Örneğin, IPv6'yı seçerseniz ve ağınız yalnızca IPv4'ü destekliyorsa, internete bağlanırken sorun yaşayabilirsiniz. Bunun tersi durumlar da olabilir. +**Tercih edilen IP sürümü** seçeneğinde, IPv6 ve IPv4 arasında seçim yapmadan önce ağınızın bu protokolü desteklediğinden emin olun. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. Bunun tersi durumlar da olabilir. ::: diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index fd715e95eb..f38932ed00 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPN, İnternet üzerindeki başka bir ağa güvenli bir bağlantı oluşturmanı AdGuard VPN'in çeşitli işlevleri vardır: -- gerçek yerinizi gizler ve anonim kalmanıza yardımcı olur -- verilerinizi izlemekten korumak için IP adresinizi değiştirir -- trafiğinizi şifreler ve içeriği dolandırıcılar için erişilemez hâle getirir -- VPN'nin nerede kullanılacağını ve nerede kullanılmayacağını yapılandırmanıza olanak tanır (istisnalar özelliği) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) iOS için AdGuard VPN'in bir sonraki avantajı, kendi VPN protokolümüzdür. Diğer VPN protokollerine kıyasla tespit edilmesi son derece zordur ve zayıf bir internet bağlantısında bile kararlıdır. [AdGuard VPN protokolü hakkında daha fazla bilgi edinin](/general/adguard-vpn-protocol). diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 91b52ce22c..49dbfcbe2d 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: AdGuard VPN otomasyonu nasıl ayarlanır iOS için AdGuard VPN'de herhangi bir uygulama istisnası yoktur. Yine de, iPhone ve iPad'lerdeki uygulamalar için AdGuard VPN'i otomatikleştirmenin bir yolu var. -## AdGuard VPN otomatik etkinleştirmeyi ayarlama +## Configuring automatic connection to VPN Bir veya daha fazla uygulama için bir VPN'e ihtiyacınız varsa, AdGuard VPN'i, onları açıp kapattığınızda otomatik olarak açılacak ve kapanacak şekilde ayarlayın. İstisnalar sekmesine gidin, Genel modu seçin ve talimatları izleyin. Burada Twitter için otomasyonun nasıl oluşturulacağını açıklıyoruz, ancak başka herhangi bir uygulamayı seçebilirsiniz. @@ -28,7 +28,7 @@ Bir veya daha fazla uygulama için bir VPN'e ihtiyacınız varsa, AdGuard VPN'i, Artık yeni bir senaryonuz var: Twitter uygulamasını başlattığınızda AdGuard VPN otomatik olarak etkinleştirilecektir. Şimdi, uygulamayı kapattığınızda AdGuard VPN'nin otomatik olarak kapanmasını sağlayacak başka bir komut oluşturmanız gerekiyor. -## AdGuard VPN otomatik kapanmasını yapılandırma +## Configuring automatic disconnection from VPN ![Talimat. Bölüm 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index 2f85dffbff..6cacb02897 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Otomatik başlatmaya erişim izni vermek ve etkinleştirmek için bunu çalıştırın: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index da7f98e824..891bba0958 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Linux için AdGuard VPN'in yönlendiriciye nasıl kurulacağını öğrenin. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) Diğer yönlendirici markaları ve donanım yazılımı seçenekleri için daha fazla talimat yakında buraya eklenecektir. diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index aa5bdc19fe..d734ded399 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Son olarak Ayarlar sekmesine geliyoruz. *Program hakkında* bölümünde, AdGuar İlk dört temel özellik, uygulamayı daha kullanışlı ve kullanıcı dostu hâle getirir, örneğin *Kill Switch*, *Otomatik güncelle*, *Oturum açılışında AdGuard VPN'i başlat* ve *Uygulama başlatıldığında otomatik bağlan*. Ayrıca, açık, koyu ve sistem varsayılanı temaları arasında seçim yapabilirsiniz — sonuncu olan, Mac'inizdeki temayla eşleşir. -Ayrıca, uygulamamızı geliştirmemize yardımcı olmak için AdGuard VPN'in anonim çökme raporları, teknik ve etkileşim verileri toplamasına ve göndermesine izin verebilirsiniz. Son olarak, Mac'inizden günlükleri dışa aktarabilirsiniz. Destek için mesajınıza günlük eklemek istiyorsanız bu yararlı olabilir. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Son olarak, Mac'inizden günlükleri dışa aktarabilirsiniz. Destek için mesajınıza günlük eklemek istiyorsanız bu yararlı olabilir. ### DNS sunucuları diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index a90c5a1a2a..e3c21eb421 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ Windows için AdGuard VPN'in birçok avantajı vardır, bu yüzden onlara ayrı ## Windows için AdGuard VPN'i kullanmaya nasıl başlanır -Windows için AdGuard VPN'i kullanmaya başlamak için uygulamayı [sitemizden](https://adguard-vpn.com/welcome.html) indirin. Kurulum bir dakikadan fazla sürmez — ve Kullanıcı Sözleşmesi ve Gizlilik politikasının şartlarını uygulayan en az bir kutuyu işaretlemeniz gereken bir uyarı penceresi görürsünüz. AdGuard'ın uygulama kullanımınız hakkında anonim veri toplamasını isteyip istemediğinize karar vermek de size kalmış. Son olarak program sizden [AdGuard hesabı](https://auth.adguard.com/login.html) veya sosyal ağlar (Apple, Google, Facebook) aracılığıyla giriş yapmanızı ister. Hepsi bu kadar, artık Windows için AdGuard VPN'i kullanabilirsiniz. +Windows için AdGuard VPN'i kullanmaya başlamak için uygulamayı [sitemizden](https://adguard-vpn.com/welcome.html) indirin. Kurulum bir dakikadan fazla sürmez — ve Kullanıcı Sözleşmesi ve Gizlilik politikasının şartlarını uygulayan en az bir kutuyu işaretlemeniz gereken bir uyarı penceresi görürsünüz. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. Son olarak program sizden [AdGuard hesabı](https://auth.adguard.com/login.html) veya sosyal ağlar (Apple, Google, Facebook) aracılığıyla giriş yapmanızı ister. Hepsi bu kadar, artık Windows için AdGuard VPN'i kullanabilirsiniz. ## Ana ekran @@ -54,7 +54,7 @@ Sürüm 2.4'ten başlayarak, VPN yalnızca seçilen uygulamalar ve siteler için ### İstisna listelerini içe ve dışa aktarma -Windows için AdGuard VPN'dan istisnalar listesini bilgisayarınıza aktarmak için **İstisnaları dışa aktar** öğesine tıklayın, listenin depolanacağı klasörü seçin ve **Kaydet** öğesine tıklayın. Her liste için bir tane olmak üzere iki `.txt` dosyası içeren bir `exclusions.zip` arşivi indirilecektir. Bunları yeni istisnalar ekleyerek veya eskileri silerek düzenleyebilirsiniz. +Windows için AdGuard VPN'dan istisnalar listesini bilgisayarınıza aktarmak için **İstisnaları dışa aktar** öğesine tıklayın, listenin depolanacağı klasörü seçin ve **Kaydet** öğesine tıklayın. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. Bunları yeni istisnalar ekleyerek veya eskileri silerek düzenleyebilirsiniz. Hedef cihazda AdGuard VPN'i açın, *İstisnalar* öğesine tıklayın ve *Siteler* veya *Uygulamalar* öğesini seçin. *İstisnaları içe aktar* öğesine tıklayın ve alınan arşivi seçin. diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/tr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 7a8f3919e6..9a3ef98e4a 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ VPN hizmetimizin birkaç önemli [avantajı](/general/why-adguard-vpn) vardır: - [_Tescilli VPN protokolü_](/general/adguard-vpn-protocol), yavaş bir İnternet bağlantısıyla bile kararlı bir şekilde çalışan ve kendisini normal trafik olarak gizleyerek izlemeyi ve engellemeyi daha zor hâle getirir -- [_Günlük tutmama politikası_](https://adguard-vpn.com/privacy.html), bu da AdGuard VPN'in kişisel verilerinizi toplamadığı ve üçüncü taraflara aktarmadığı anlamına gelir +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _Onlarca ülkede 50'den fazla VPN sunucusu_ @@ -83,4 +83,8 @@ VPN hizmetimizin birkaç önemli [avantajı](/general/why-adguard-vpn) vardır: - [Windows](/adguard-vpn-for-windows/overview) ve [Mac](/adguard-vpn-for-mac/overview) için masaüstü uygulaması +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [AdGuard VPN özellikleri hakkında daha fazla bilgi edinin](https://adguard-vpn.com/welcome.html) diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/tr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 7595106717..4cea8c6c02 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: Yönlendiricinizde AdGuard VPN nasıl kurulur sidebar_position: 8 --- -Yönlendiricinizde AdGuard VPN'i kurarak, akıllı TV'ler, akıllı medya cihazları ve oyun konsolları gibi VPN uygulamalarını kuramadığınız cihazlardaki verilerinizi koruyabilirsiniz. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ VPN sunucu konumunu değiştirmek istiyorsanız yönlendirici ayarlarınızı g - Yönlendiricinizdeki AdGuard VPN ile ne VPN sağlayıcınız ne de başka biri internet etkinliğinize erişemez - Yönlendiricinize AdGuard VPN kurmak tüm ağınızı güvence altına alır, yani ağa bağlı tüm cihazlar korunur -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## AdGuard VPN ile bir yönlendiriciye bağlanabilen cihazlar diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 24e51367e9..a6a4010cbb 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ The last section of *Advanced settings* is *Low-level settings*. We urge you not :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/installation.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/installation.md index 0cad3c0dad..9a75272e66 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/installation.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/installation.md @@ -5,41 +5,39 @@ sidebar_position: 2 ## System requirements -AdGuard VPN can only be installed on devices with **iOS 14.2 and iPadOS 14.2 or later**. +AdGuard VPN chỉ có thể được cài đặt trên các thiết bị có **iOS 14.2 và iPadOS 14.2 hoặc phiên bản mới hơn**. ### If AdGuard VPN has been removed from the App Store -If you don’t see AdGuard VPN in the App Store, try changing the country or region in your Apple ID settings. Another option is to create a new Apple account and connect it to the App Store. [Instructions for both cases](/adguard-vpn-for-ios/solving-problems/app-store) are described in a separate article. - -After you change the region or link a different account to the App Store, [install AdGuard VPN](https://apps.apple.com/us/app/adguard-vpn-unlimited-fast/id1525373602). +Nếu bạn không thấy AdGuard VPN trong App Store, hãy thử thay đổi quốc gia hoặc vùng trong cài đặt Apple ID của bạn. Một tùy chọn khác là tạo một tài khoản Apple mới và kết nối nó với App-Store. [Hướng dẫn cho cả hai trường hợp](/adguard-vpn-for-ios/solving-problems/app-store) được mô tả trong một bài viết riêng. ## How to install AdGuard VPN for iOS -You can download and install the *AdGuard VPN for iOS* app for free in the *App Store*. +Bạn có thể tải xuống và cài đặt miễn phí ứng dụng *AdGuard VPN cho iOS* trong *Cửa hàng ứng dụng*. -To do this, [go to App Store](https://agrd.io/ios_vpn) and tap *GET*. +Để làm điều này, [truy cập Cửa hàng ứng dụng](https://agrd.io/ios_vpn) và nhấn vào *NHẬN*. -Or you can use App Store’s search to find AdGuard VPN: +Hoặc bạn có thể sử dụng chức năng tìm kiếm của Cửa hàng ứng dụng để tìm AdGuard VPN: -1. Open the *App Store* app on your iOS device and tap *Search* 🔍 in the bottom right corner of the screen. +1. Mở ứng dụng *Cửa hàng ứng dụng* trên thiết bị iOS của bạn và nhấn vào *Tìm kiếm* 🔍 ở góc dưới bên phải của màn hình. - ![App Store *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/app-store-en.png) + ![Cửa hàng ứng dụng *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/app-store-en.png) -1. Next, in the search bar, start typing *"AdGuard"* and select *"adguard vpn"* from the list of suggested options. +1. Tiếp theo, trong thanh tìm kiếm, bắt đầu nhập *"AdGuard"* và chọn *"adguard vpn"* từ danh sách các tùy chọn được đề xuất. - ![Search *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/search-en.png) + ![Cài đặt Xiaomi *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/search-en.png) -1. Select *AdGuard VPN - Unlimited & Fast* from the list of suggested apps and tap *GET*. If necessary, enter your Apple ID account password in the opened window. +1. Select *AdGuard VPN - Unlimited & Fast* from the list of suggested apps and tap *GET*. Nếu cần, hãy nhập mật khẩu tài khoản Apple ID của bạn trong cửa sổ vừa mở. 1. Wait for the download to finish and tap *OPEN* to open the app. ![AdGuard VPN *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/adguard-vpn-en.png) -That’s it! AdGuard VPN for iOS has been successfully installed on your device. +Xong rồi! AdGuard VPN cho iOS đã được cài đặt thành công trên thiết bị của bạn. -## How to uninstall AdGuard VPN for iOS +## Cách gỡ cài đặt AdGuard VPN cho iOS -If you have decided to delete AdGuard VPN for iOS, find and hold its icon on the home screen. In the menu that opens, tap *Remove App*. +Nếu bạn đã quyết định xóa AdGuard VPN cho iOS, hãy tìm và giữ biểu tượng của nó trên màn hình chính. Trong danh sách xuất hiện, nhấn vào *Gỡ bỏ ứng dụng*. Trong menu xuất hiện, nhấn vào *Gỡ bỏ ứng dụng*. -![Uninstall *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/2.2/quick-action-menu.png) +![Gỡ cài đặt *mobile_border](https://cdn.adguardvpn.com/content/kb/vpn/ios/2.2/quick-action-menu.png) -You can learn more about the AdGuard VPN app for iOS in [this article](adguard-vpn-for-ios/overview). +Bạn có thể tìm hiểu thêm về ứng dụng AdGuard VPN cho iOS trong [bài viết này](adguard-vpn-for-ios/overview). diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 92c05d54be..d7a6d14efa 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ A VPN allows you to create a secure connection to another network on the Interne AdGuard VPN has several functions: -- hides your real whereabouts and helps you stay anonymous -- changes your IP address to protect your data from tracking -- encrypts your traffic and makes contents inaccessible to scammers -- lets you configure where to use VPN and where not to (exclusions feature) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) The next advantage of AdGuard VPN for iOS is our own VPN protocol. It is extremely difficult to detect compared to other VPN protocols, and it is stable even with a poor Internet connection. [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 503c43f7c0..6b07e35c41 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: How to set up AdGuard VPN automation There are no app exclusions in AdGuard VPN for iOS. Yet, there is a way to automate AdGuard VPN for apps on iPhones and iPads. -## Setting up AdGuard VPN automatic activation +## Configuring automatic connection to VPN If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn on and off when you open and close them. Go to the Exclusions tab, select General mode and follow the instructions. Here we describe how to create automation for Twitter, but you can choose any other app. @@ -28,7 +28,7 @@ If you need a VPN for one or more apps, set up AdGuard VPN to automatically turn Now you have a new scenario: AdGuard VPN will be automatically enabled when you start the Twitter app. Now you need to create another command that will make AdGuard VPN automatically turn off when you close the app. -## Configuring AdGuard VPN automatic shutdown +## Configuring automatic disconnection from VPN ![Instruction. Part 1](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index 828113e8f8..8f09486ae0 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Finally, we come to the Settings tab. In the *About program* section you can see The first four basic features make the application more convenient and user-friendly, i.e. *Kill Switch*, *Auto-update*, *Launch AdGuard VPN at login*, and *Auto-connect on app launch*. What’s more, you can choose between light, dark, and system themes — the latter one matches the theme on your Mac. -You can also allow AdGuard VPN to gather and send anonymous crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. Last but not least, you can export logs from your Mac. This can be useful if you want to attach logs to your message to support. ### DNS servers diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index bbf25c9df2..0a70bf078c 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows has many advantages, so we've dedicated [a separate arti ## How to start using AdGuard VPN for Windows -To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymous data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. +To start using AdGuard VPN for Windows, download the app from [our website](https://adguard-vpn.com/welcome.html). The installation takes no more than a minute — and you'll see a dialog window where you'll need to check at least one box applying the terms of the User Agreement and the Privacy policy. And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. At last the program will ask you to sign in, either via [AdGuard account](https://auth.adguard.com/login.html) or via social networks (Apple, Google, Facebook). That's all, you can now use AdGuard VPN for Windows. ## Home screen @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### Import/export exclusion lists -To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. An archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. +To export the list of exclusions from AdGuard VPN for Windows to your computer, click **Export exclusions**, select the folder where the list will be stored and click **Save**. The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. You can edit them by adding new exclusions or deleting old ones. On the destination device, open AdGuard VPN, click *Exclusions*, and select *Websites* or *Apps*. Click *Import exclusions* and select the received archive. diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/vi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/vi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index fe07939281..180893f583 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: How to set up AdGuard VPN on your router sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ You’ll need to update your router settings if you want to change the VPN serve - With AdGuard VPN on your router, neither your VPN provider nor anyone else has access to your Internet activity - Installing AdGuard VPN on your router secures your entire network, meaning that all devices connected to it are protected -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index d1073ea4a4..9d2963ea02 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ In this section, you can also export logs and system info to share them with sup :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 4ac01cf268..60fbab250a 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPN 可以让用户与互联网上另一处网络创建安全连接。 It connec AdGuard VPN 具有多种功能: -- 隐藏用户的真实位置帮助保持匿名性 -- 更改用户的 IP 地址避免他人跟踪您的个人数据 -- 加密用户的流量防止被诈骗者访问数据 -- 让用户自己配置在哪里启用或关闭 VPN(排除项功能) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) 适用于 iOS 的 AdGuard VPN 下一个优势是我们自建的 VPN 协议。 此协议比其他 VPN 协议更难检测,而且即便在网络连接较差时也很稳定。 [Read more about the AdGuard VPN protocol](/general/adguard-vpn-protocol). diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 620c967e5f..533dd822e1 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: 如何设置 AdGuard VPN 自动化 AdGuard VPN iOS 版中没有应用排除项。 不过,有一种方法可以让 AdGuard VPN 自动适用 iPhone 和 iPad 上的应用程序。 -## 设置 AdGuard VPN 自动启动 +## Configuring automatic connection to VPN 如果您需要在一款或多款应用程序里启用 VPN 服务,请将 AdGuard VPN 设置为在您打开和关闭 APP 时自动打开和关闭 VPN 连接。 转到「排除项」标签,选择「常规模式」并按照说明进行操作。 此处我们描述如何为 Twitter 创建自动化,但用户也可以选择任何其他应用程序。 @@ -28,7 +28,7 @@ AdGuard VPN iOS 版中没有应用排除项。 不过,有一种方法可以让 现在您有一个新的“场景”。当您启动 Twitter 应用程序时,AdGuard VPN 将自动启用。 现在您需要创建另一个命令,使 AdGuard VPN 在您关闭应用程序时自动关闭。 -## 配置 AdGuard VPN 自动关闭 +## Configuring automatic disconnection from VPN ![指示说明 第1部分](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index c9daa68fc3..7aec7bcdb9 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ The fourth tab is the *Support* screen. 在[常见问题](https://adguard-vpn.co 前四个基本功能提高应用程序的用户友好性,即 *Kill Switch*、 *自动更新*、 *随系统启动自动运行 AdGuard VPN* 和*在应用程序启动时自动连接*。 此外,用户可以在浅色、深色和系统主题之间进行选择。系统主题与您 Mac 上的主题相匹配。 -您还可以允许 AdGuard VPN 收集和发送匿名崩溃报告、技术和交互数据,以帮助我们改进应用程序。 最后,您还可以从 Mac 导出日志。 如果您想将日志附加到您的消息以提供客服支持,本功能很有用。 +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. 最后,您还可以从 Mac 导出日志。 如果您想将日志附加到您的消息以提供客服支持,本功能很有用。 ### DNS 服务器 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 60e14e1ba1..a1f7db763d 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN Windows 版有很多优点,为此我们专门写了一篇[文章]( ## 如何开始使用 AdGuard VPN Windows 版 -要开始使用 Windows 版 AdGuard VPN,请从[我们的网站](https://adguard-vpn.com/welcome.html)下载此应用程序。 安装时间不会超过 1 分钟,然后您会看到一个对话框,此处您至少需要勾选实施用户协议和隐私政策条款的复选框。 您可以自行决定是否希望 AdGuard 收集有关您的应用程序使用情况的匿名数据。 最后,安装程序会请求您通过 [AdGuard 账号](https://auth.adguard.com/login.html)或社交平台(Apple、Google、Facebook)进行登录。 就这样,您就可以使用 AdGuard VPN Windows 版了。 +要开始使用 Windows 版 AdGuard VPN,请从[我们的网站](https://adguard-vpn.com/welcome.html)下载此应用程序。 安装时间不会超过 1 分钟,然后您会看到一个对话框,此处您至少需要勾选实施用户协议和隐私政策条款的复选框。 And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. 最后,安装程序会请求您通过 [AdGuard 账号](https://auth.adguard.com/login.html)或社交平台(Apple、Google、Facebook)进行登录。 就这样,您就可以使用 AdGuard VPN Windows 版了。 ## 主界面 @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### 导入/导出排除项列表 -如果您要从 AdGuard VPN Windows 版里导出排除项列表到您的计算机中,请点击「**导出排除项**」,选择用于存储列表文件的文件夹,然后点击「**保存**」。 将下载一个包含两个`.txt`文件的`exclusions.zip 压缩包`,每个列表一个。 您可以通过添加新排除项或删除旧排除项来直接编辑它们。 +如果您要从 AdGuard VPN Windows 版里导出排除项列表到您的计算机中,请点击「**导出排除项**」,选择用于存储列表文件的文件夹,然后点击「**保存**」。 The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. 您可以通过添加新排除项或删除旧排除项来直接编辑它们。 在目标设备上,打开 AdGuard VPN,单击 *排除*,然后选择 *网站* 或 *应用*。 单击 *导入排除项*,选择接收到的存档。 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index c5ed1b0c96..1c48950a40 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ AdGuard VPN 也有自己的 [_协议_](/general/adguard-vpn-protocol)。 其最 - [_专有 VPN 协议_](/general/adguard-vpn-protocol),即使在较慢的互联网连接下也能稳定运行,并伪装成正常流量,使其更难以跟踪和阻止 -- [_无记录政策_](https://adguard-vpn.com/privacy.html),这意味着 AdGuard VPN 不会收集您的个人数据,也不会将其传输给第三方 +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _分布在数十个国家的 50 多个 VPN 服务器_。 @@ -83,4 +83,8 @@ AdGuard VPN 也有自己的 [_协议_](/general/adguard-vpn-protocol)。 其最 - 适用于 [Windows](/adguard-vpn-for-windows/overview) 和 [Mac](/adguard-vpn-for-mac/overview) 的桌面应用程序 +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [了解有关 AdGuard VPN 功能的更多信息](https://adguard-vpn.com/welcome.html) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index 63143d1f4d..7c7a823ddc 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: 如何在路由器上设置 AdGuard VPN sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ This option is only available if you have an AdGuard VPN subscription and your r - 在路由器上安装 AdGuard VPN 后,VPN 提供商或其他任何人都无法访问您的互联网活动。 - 在路由器上安装 AdGuard VPN 可以保护整个网络,这意味着连接到路由器的所有设备都受到保护 -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md index 1189f7fa79..ad17d7bb40 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-android/overview.md @@ -115,7 +115,7 @@ In this section, you can also export logs and system info to share them with sup :::caution -In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you may experience problems connecting to the Internet. And vice versa. +In the **Preferred IP version** option, before you choose between IPv6 and IPv4, make sure that your network supports that protocol. For example, if you select IPv6 and your network only supports IPv4, you will have problems connecting to the Internet. And vice versa. ::: diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md index 9ef8a7d217..777e39a7e6 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/overview.md @@ -9,10 +9,10 @@ VPN 可讓您建立與 Internet 上另一個網路的安全連線。 它將使 AdGuard VPN 有以下幾個功能: -- 隱藏您的真實行踪並幫助您保持匿名 -- 更改您的 IP 位址以保護您的資料免遭追蹤 -- 加密您的流量並使詐騙者無法存取內容 -- 允許您設定在何處使用 VPN 以及在何處不使用(排除功能) +- Hides your real whereabouts and helps you stay anonymous +- Changes your IP address to protect your data from tracking +- Encrypts your traffic, making the content inaccessible to scammers +- Lets you configure where to use VPN and where not to (exclusions feature) AdGuard VPN for iOS的下一個優勢是我們自己的VPN協定。 與其他 VPN 協定相比,它極難檢測,並且即使在網路連線較差的情況下也很穩定。 [以了解更多有關 AdGuard VPN 協定的資訊](/general/adguard-vpn-protocol)。 diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md index 974ea6f730..219d5bb5f0 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-ios/solving-problems/automation.md @@ -6,7 +6,7 @@ sidebar_label: 如何設定 AdGuard VPN 自動化 適用於 iOS 的 AdGuard VPN 中沒有應用程式排除項。 然而,有一種方法可以為 iPhone 和 iPad 上的應用程式實現 AdGuard VPN 的自動化。 -## 設定 AdGuard VPN 自動啟動 +## Configuring automatic connection to VPN 如果您需要為一個或多個應用程式使用 VPN,請將 AdGuard VPN 設定為在您開啟和關閉它們時自動開啟和關閉。 前往排除選項卡,選擇常規模式並依照指示進行操作。 在這裡,我們描述瞭如何為 Twitter 建立自動化,但您可以選擇任何其他應用程式。 @@ -28,7 +28,7 @@ sidebar_label: 如何設定 AdGuard VPN 自動化 現在您有一個新場景:當您啟動 Twitter 應用程式時,AdGuard VPN 將自動啟用。 現在您需要建立另一個命令,使 AdGuard VPN 在您關閉應用程式時自動關閉。 -## 設定 AdGuard VPN 自動關閉 +## Configuring automatic disconnection from VPN ![操作說明。 第1部分](https://cdn.adguardvpn.com/public/Adguard/Blog/VPNauto/vpn_off1_en.jpg) diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md new file mode 100644 index 0000000000..d6a179373d --- /dev/null +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md @@ -0,0 +1,283 @@ +--- +title: How to set up AdGuard VPN for Linux on an Asuswrt-Merlin router +sidebar_position: 4 +--- + +:::info System requirements + +1. AdGuard VPN CLI requires at least 22 MB of free storage space on your router’s disk or external USB after installing necessary packages. +2. **Asuswrt-Merlin firmware**: Make sure your router is running the Asuswrt-Merlin firmware. +3. **USB drive**: A USB drive formatted in a native Linux file system (ext2, ext3, or ext4). We will go through the formatting process in this guide. + +::: + +## 1. Determine your router’s IP address + +The default IP address for most routers is `192.168.1.1` or `192.168.0.1`. If you’ve changed the IP address or if you’re unsure, you can find it by checking the IP configuration on a connected device. + +### On Windows + +1. Open Command Prompt: + + ```bash + ipconfig + ``` + +2. Look for the _Default Gateway_ under your active network connection. This is your router’s IP address. + +### On Mac/Linux + +1. Open Terminal and run this command for Linux: + + ```bash + ip route | grep default + ``` + + Or this one for Mac: + + ```bash + route -n get default + ``` + +2. Look for the _default_ entry. The IP address next to it is your router’s IP address. + +## 2) Make sure SSH and **JFFS custom scripts are e**nabled on the router + +First, make sure that SSH access is enabled on your router. This setting is usually found in the router’s web interface. JFFS custom scripts will be used to set routing rules. + +1. Log in to the web interface. This is usually accessible via a web browser at [`http://192.168.1.1`](http://192.168.1.1/). Otherwise, replace [`192.168.1.1`](http://192.168.1.1/) with your router’s IP address. + +2. Scroll down to **Advanced settings**, **Administration** → **System**. + +3. Scroll to **Service**, click **Enable SSH** → **LAN**. + +4. Select **22** in **Port** and **Yes** in **Allow Password Login**. + +5. Go up to **Persistent JFFS2 partition** and enable **JFFS custom scripts and configs**. + +6. Click **Apply** at the bottom of the page. + +## 3) Use an SSH client to connect to the router + +You’ll need an SSH client. Most Linux and macOS systems come with an SSH client pre-installed. For Windows, you can use PowerShell, the built-in SSH client in Windows 10/11, or a third-party application like PuTTY. + +### Built-in SSH client (Linux/macOS/Windows 10/11) + +1. Open Terminal or PowerShell. + +2. Run the SSH command: + + ```bash + ssh admin@192.168.1.1 + ``` + + Replace `192.168.1.1` with your router’s IP address and `admin` with your admin username. + +3. If this is your first time connecting to the router via SSH, you’ll see a message like this: + + ```text + The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. + ECDSA key fingerprint is SHA256:... + Are you sure you want to continue connecting (yes/no/[fingerprint])? + ``` + + Type `yes` and press Enter. + +4. Enter the router’s password when prompted. The SSH login username and password are the same as the admin credentials. + +### PuTTY (Windows below 10) + +1. Download and install PuTTY from [the official website](https://www.putty.org/). +2. Open PuTTY. +3. In the _**Host Name (or IP address)**_ field, enter your router’s IP address (e.g., `192.168.1.1`). +4. Make sure the _**Connection type**_ is set to SSH. +5. Click _**Open**_. +6. When the terminal window opens, enter the router’s credentials. The SSH login username and password are the same as the admin credentials. + +## 4) Install Entware using SSH + +Once logged into your SSH client, you can use various commands to interact with your router’s Linux-based operating system. To proceed, you will need to install Entware OPKG Manager. It allows you to install third-party software packages to expand router capabilities. Skip to the next step if you already have it installed. + +Note that you cannot use both Optware (outdated alternative) and Entware at the same time. + +The Asus DownloadMaster is based on Optware, and therefore is not compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware. + +After uninstalling, make sure that "asusware.arm" or "asusware.\*" dir on the mounted disk partition is deleted. Otherwise, Entware won't work properly. After uninstalling DownloadMaster, make sure the router is rebooted. + +You will need to plug a USB disk that's formatted in a native Linux file system (ext2, ext3 or ext4). To format a disk, use amtm. Plug a USB disk into your router, then start amtm with: + +```bash +amtm +``` + +Use this option to format a disk and mount it to router: + +```bash +fd +``` + +Go through the formatting process and select the recommended options. All files from the USB disk will be deleted. For this setup to work, USB disk should always stay connected. + +After mounting your USB, the router will reboot. To start the installation process, first reconnect to your router over SSH. + +Then launch the amtm application by simply running: + +```bash +amtm +``` + +The menu will offer you the option `ep` to initiate the Entware installation. + +If you are running a firmware version older than 384.15 (or 384.13_4 for the RT-AC87U and RT-AC3200), then you start the installation by running the following command instead. + +```bash +entware-setup.sh +``` + +If the entware-setup.sh script is not found, download and run the following script to install Entware: + +```bash +wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh +``` + +Exit amtm by pressing `e`. + +## 5. Install AdGuard VPN CLI + +Update the package lists: + +```bash +opkg update +``` + +Install required packages: + +```bash +opkg install curl ca-certificates +``` + +Go to /opt folder by running `cd /opt` and run the AdGuardVPN CLI installation script: + +```bash +curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v +``` + +When asked “Would you like to link the binary to /usr/local/bin?“, reply `y`. If failed to link the binary, run this line: + +```bash +ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin +``` + +Import the SSL certificate and the tun module and set an alternative folder for the user directory. By default, it will be stored in /tmp and you’ll lose your settings after a reboot. Run this before each new session. + +```bash +export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt +export HOME=/opt/home/admin +modprobe tun +``` + +## 6. Set up AdGuard VPN CLI + +1. Log in to your account + + To use AdGuard VPN for Linux, you need an AdGuard account. + + You can sign up on our [website](https://auth.adguard.info/login.html) or in the Terminal. + + To sign up or log in, type: + + ```jsx + adguardvpn-cli login + ``` + +2. Connect to VPN + + Select a VPN server location that best suits your needs. + + In general, the closer the server, the faster the connection. + + To view available locations, type: + + ```jsx + adguardvpn-cli list-locations + ``` + + To connect to a specific location, type: + + ```jsx + adguardvpn-cli connect -l LOCATION_NAME + ``` + + Replace LOCATION_NAME with the city, country, or ISO code of the location you want to connect to. + + For quick connect, type: + + ```jsx + adguardvpn-cli connect + ``` + + AdGuard VPN will choose the fastest available location and remember it for future quick connections. + + Enter `yes` when asked “Would you like to set default routes in TUN mode?” + + AdGuard VPN CLI will create a tun0 interface for VPN tunneling. + +3. Adjust your settings + + Get a list of all available AdGuard VPN commands and customize the VPN client to your needs. + + To view all commands, type: + + ```jsx + adguardvpn-cli --help-all + ``` + +## 7) Set up your firewall rules and auto-launch for AdGuard VPN + +This step configures firewall rules on an Asuswrt-Merlin router to route traffic through AdGuard VPN. + +1. Create a new script by running the following command: + + ```bash + cat << 'EOF' > /jffs/scripts/wan-event + #!/bin/sh + + if [ "$2" = "connected" ]; then + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + /opt/adguardvpn_cli/adguardvpn-cli connect & + for ipt in iptables ip6tables; do + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + done + exit 0 + fi + EOF + ``` + + And make it executable: + + ```bash + chmod a+rx /jffs/scripts/wan-event + ``` + + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + + This script will ensure that all traffic goes through the VPN tunnel. After rebooting or reconnecting to the Internet AdGuard VPN will connect automatically to your last used location. + +2. Reboot your router to finish the setup. + + Congrats! Now you have a router secured with AdGuard VPN. + + If you want to SSH into your router again to send any commands to AdGuard VPN, make sure to run this first: + + ```bash + export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin + modprobe tun + ``` diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md index 787f2880af..ac939eca90 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on a Keenetic router -sidebar_position: 3 +sidebar_position: 2 --- :::info System requirements @@ -35,7 +35,7 @@ ipconfig ### On macOS and Linux -1. Open Terminal and run this on Linux: +1. On Linux, open Terminal and run this command: ```bash ip route | grep default @@ -67,7 +67,7 @@ Replace `192.168.1.1` with your router’s IP address. 1. If this is your first time connecting to the router via SSH, you’ll see a message like this: -```bash +```text The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. ECDSA key fingerprint is SHA256:... Are you sure you want to continue connecting (yes/no/[fingerprint])? @@ -107,7 +107,7 @@ For detailed instructions, visit [the official Keenetic Wiki](https://help.keene ### How to install OPKG Entware in the router’s internal memory -This method will work with the following list of models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. +This method will work with the following models: KN-1010/1011, KN-1810/1811, KN-1910, KN-2010, KN-2110, KN-2310, KN-2410, KN-2510, KN-2610, KN-2710, KN-3810, KN-3610 with the KeeneticOS version 3.7 and later. For detailed instructions, visit [the official Keenetic Wiki](https://help.keenetic.com/hc/en-us/articles/360021888880-Installing-OPKG-Entware-in-the-router-s-internal-memory). @@ -121,13 +121,13 @@ In your SSH client, execute the following code to install the packages required opkg install curl sudo ca-certificates ``` -Go to `cd/opt` folder and run the AdGuard VPN CLI installation script: +Go to the `/opt` folder by typing `/cd opt` and run the AdGuard VPN CLI installation script: ```bash curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v ``` -When asked `Would you like to link the binary to /usr/local/bin?`, reply `y`. If you fail to link the binary, run this line: +When asked “Would you like to link the binary to /usr/local/bin?“, reply `n` and run this line: ```bash ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin @@ -169,10 +169,11 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin 2. Connect to VPN - Import the SSL certificate before connecting by running this command: + For Keenetic routers, be sure to import the SSL certificate and select a folder for the user directory by running this command before connecting: ```bash export SSL_CERT_FILE=/opt/etc/ssl/certs/ca-certificates.crt + export HOME=/opt/home/admin ``` This must be done before each session. @@ -201,7 +202,7 @@ ln -s /opt/adguardvpn_cli/adguardvpn-cli /opt/bin adguardvpn-cli connect ``` - AdGuard VPN will choose the fastest available location and remember it for future quick connections. + AdGuard VPN will choose the location with the lowest ping and remember it for future quick connections. 3. Adjust your settings @@ -233,15 +234,15 @@ This step is designed to configure firewall rules on a Keenetic router to route ```bash - cat << EOF > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh + cat << 'EOF' > /opt/etc/ndm/netfilter.d/001-adguardvpn.sh #!/opt/bin/sh for ipt in iptables ip6tables; do - \$ipt -D FORWARD -j ADGUARD_FORWARD || true - \$ipt -F ADGUARD_FORWARD || true - \$ipt -X ADGUARD_FORWARD || true - \$ipt -N ADGUARD_FORWARD - \$ipt -I FORWARD -j ADGUARD_FORWARD - \$ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT + $ipt -D FORWARD -j ADGUARD_FORWARD || true + $ipt -F ADGUARD_FORWARD || true + $ipt -X ADGUARD_FORWARD || true + $ipt -N ADGUARD_FORWARD + $ipt -I FORWARD -j ADGUARD_FORWARD + $ipt -A ADGUARD_FORWARD -i br0 -o tun0 -j ACCEPT done EOF ``` @@ -252,6 +253,8 @@ This step is designed to configure firewall rules on a Keenetic router to route chmod +x /opt/etc/ndm/netfilter.d/001-adguardvpn.sh ``` + If you have more brX interfaces, make sure to include them in the script as well to route their traffic. Alternatively, make sure to specify a different routing rule for those interfaces. + This will create a new shell script named `001-adguardvpn.sh` in the `/opt/etc/ndm/netfilter.d/` directory, which is where network-related scripts are typically stored on a Keenetic router. The script creates a custom firewall rule to ensure that traffic from your LAN (`br0`) is routed through the AdGuard VPN interface (`tun0`). It first cleans up any previous rules related to this configuration, then sets up new rules to direct the traffic appropriately. @@ -278,7 +281,7 @@ And make it executable: chmod +x /opt/etc/ndm/wan.d/001-adguardvpn.sh ``` -The script named`001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/` . +The script named `001-adguardvpn.sh` will be saved to `/opt/etc/ndm/wan.d/`. It will start AdGuard VPN when Internet is connected. diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md index ba3d5e5775..f317ad7203 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md @@ -1,6 +1,6 @@ --- title: How to set up AdGuard VPN for Linux on an OpenWRT router -sidebar_position: 2 +sidebar_position: 3 --- :::info System requirements @@ -251,7 +251,7 @@ stop() { } ``` -Run this to grant access for auto-launch and enable it: +Run this to grant access to and enable auto-launch: ```jsc chmod +x /etc/init.d/adguardvpn diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md index cbdacbf1ae..4b4b867f79 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-linux/setting-up-on-a-router/setting-up-on-a-router.md @@ -5,8 +5,10 @@ sidebar_position: 1 Learn how to set up AdGuard VPN for Linux on a router. +- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) + - [Instructions for OpenWRT routers](/adguard-vpn-for-linux/setting-up-on-a-router/openwrt.md) -- [Instructions for Keenetic routers](/adguard-vpn-for-linux/setting-up-on-a-router/keenetic.md) +- [Instructions for Asuswrt-Merlin routers](/adguard-vpn-for-linux/setting-up-on-a-router/asuswrt-merlin.md) More instructions for other router brands and firmware options will be added here soon. diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md index be3cbfb77f..95bf394b9b 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-mac/overview.md @@ -89,7 +89,7 @@ Starting with the version 2.4, all browsers are automatically added to the list 第一個四個基本功能使應用程序更加方便和用戶友好,即*終止開關*,*自動更新*,*啟動AdGuard VPN時登錄*,以及*應用程序啟動時自動連接*。 此外,您可以在淺色、深色和系統主題之間進行選擇 - 後者與您 Mac 上的主題相匹配。 -您還可以允許 AdGuard VPN 收集和發送匿名崩潰報告、技術和互動數據,以幫助我們改進我們的應用程式。 最後但並非最不重要的一點是,您可以從 Mac 匯出日誌。 如果您想將日誌附加到訊息中以獲取支持,這會很有用。 +You can also allow AdGuard VPN to gather and send anonymized crash reports, technical and interaction data in order to help us improve our app. 最後但並非最不重要的一點是,您可以從 Mac 匯出日誌。 如果您想將日誌附加到訊息中以獲取支持,這會很有用。 ### DNS 伺服器 diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md index 35901d2122..a130856593 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/adguard-vpn-for-windows/overview.md @@ -15,7 +15,7 @@ AdGuard VPN for Windows 有很多優點,所以我們專門致力於 [另一篇 ## 如何開始使用 AdGuard VPN for Windows -要開始使用 AdGuard VPN for Windows,請從以下位置下載應用程式 [我們的網站](https://adguard-vpn.com/welcome.html). 安裝過程不會超過一分鐘,您將看到一個對話框窗口,您需要在其中至少選取一個方塊以應用使用者協議和隱私權政策的條款。 您可以決定是否希望 AdGuard 收集有關您的應用程式使用情況的匿名資料。 最後,程式將要求您透過 [AdGuard 帳號](https://auth.adguard.com/login.html) 或社群網路(Apple、Google、Facebook)登入。 就這樣,您現在可以使用 AdGuard VPN for Windows。 +要開始使用 AdGuard VPN for Windows,請從以下位置下載應用程式 [我們的網站](https://adguard-vpn.com/welcome.html). 安裝過程不會超過一分鐘,您將看到一個對話框窗口,您需要在其中至少選取一個方塊以應用使用者協議和隱私權政策的條款。 And it's up to you to decide whether you want AdGuard to collect anonymized data about your app usage. 最後,程式將要求您透過 [AdGuard 帳號](https://auth.adguard.com/login.html) 或社群網路(Apple、Google、Facebook)登入。 就這樣,您現在可以使用 AdGuard VPN for Windows。 ## 主頁 @@ -54,7 +54,7 @@ Starting with the version 2.4, all browsers are automatically added to the list ### 導入/匯出排除列表 -將例外清單從AdGuard VPN for Windows匯出到您的電腦,請按一下**匯出例外**,選擇要存儲清單的文件夾,然後按一下**儲存**。 將下載一個存檔 `排除.zip` ,其中包含兩個 `.txt` 文件,每個列表一個。 您可以透過新增新的排除項或刪除舊的排除項來編輯它們。 +將例外清單從AdGuard VPN for Windows匯出到您的電腦,請按一下**匯出例外**,選擇要存儲清單的文件夾,然後按一下**儲存**。 The archive `exclusions.zip` with two `.txt` files will be downloaded, one for each of the lists. 您可以透過新增新的排除項或刪除舊的排除項來編輯它們。 在目標裝置上,開啟 AdGuard VPN,點選 *排除*,然後選擇 *網站* 或 *應用程式*。 點選 *匯入排除項* 並選擇收到的檔案。 diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/how-vpn-works.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/how-vpn-works.md index 977e318fae..b18988d86f 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/how-vpn-works.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/how-vpn-works.md @@ -69,7 +69,7 @@ Our VPN service has several important [advantages](/general/why-adguard-vpn): - [_Proprietary VPN protocol_](/general/adguard-vpn-protocol), which works stably even with a slow Internet connection and disguises itself as normal traffic, making it more difficult to track and block it -- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means that AdGuard VPN does not collect your personal data and does not transfer it to third parties +- [_No-logging policy_](https://adguard-vpn.com/privacy.html), which means no personal data can be shared with third parties because AdGuard VPN never collects such data - _More than 50 VPN servers in dozens of countries_ @@ -83,4 +83,8 @@ Currently, AdGuard VPN is available as: - Desktop application for [Windows](/adguard-vpn-for-windows/overview) and [Mac](/adguard-vpn-for-mac/overview) +- Command-line interface for [Linux, Mac, and some routers](/adguard-vpn-for-linux/) + +- A VPN client for [routers](/general/set-up-adguard-vpn-on-your-router/) + [Learn more about AdGuard VPN features](https://adguard-vpn.com/welcome.html) diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md index a1d34492b0..5d8c4e80c0 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/general/set-up-adguard-vpn-on-your-router.md @@ -3,7 +3,7 @@ title: 如何在路由器上設定 AdGuard VPN sidebar_position: 8 --- -By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as smart TVs, smart media devices, and game consoles. +By setting up AdGuard VPN on your router, you can protect your data on devices where you cannot install VPN apps, such as media devices and game consoles. :::note @@ -51,7 +51,7 @@ This option is only available if you have an AdGuard VPN subscription and your r - 透過路由器上的 AdGuard VPN,您的 VPN 提供者或其他任何人都無法存取您的網路活動 - 在路由器上安裝 AdGuard VPN 可保護您的整個網絡,這表示連接到該網路的所有裝置都受到保護 -- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — smart TVs, smart media devices, and game consoles +- You can enhance security and protect your data on devices where it’s not possible to install AdGuard VPN apps — media devices and game consoles ## Devices that can be connected to a router with AdGuard VPN