8 Commits

Author SHA1 Message Date
Slava-Shchipunov
f1d01bdafa docs: update readme 2024-10-26 04:33:45 +07:00
Slava-Shchipunov
0e0ba052de fix: fix peer create 2024-10-26 04:10:11 +07:00
Slava-Shchipunov
8006d6eb1e fix: add timeout 2024-10-26 03:22:09 +07:00
Slava-Shchipunov
9102844b6f fix: fix allowed_ips set 2024-10-26 03:09:30 +07:00
Slava-Shchipunov
7195728872 feat: add firewall settings 2024-10-26 02:53:26 +07:00
Slava-Shchipunov
9d1e5e5f70 fix: add opkg update run 2024-10-26 02:24:01 +07:00
Slava-Shchipunov
6a40d3af6a fix: replace curl with wget 2024-10-26 02:17:46 +07:00
Slava-Shchipunov
b3bcad0d5d feat: add awg install script 2024-10-26 02:08:36 +07:00

View File

@@ -4,7 +4,7 @@
Если же вам нужно только установить пакеты, я добавил скрипт amneziawg-install - он автоматически скачает пакеты из этого репозитория под ваше устройство (только для стабильной версии OpenWRT), а также предложит сразу настроить интерфейс с протоколом AmneziaWG. Если пользователь согласится, нужно будет ввести параметры конфига, которые запросит скрипт. При этом скрипт создаст интерфейс, настроит для него правила фаерволла, а также **включит перенаправление всего траффика через тунель AmneziaWG** (установит в настройках Peer галочку Route Allowed IPs).
Для запуска скрипта подключитесь к роутеру по SSH, введите команду и следуйте инструкциям на экране:
```
sh <(wget -O - https://raw.githubusercontent.com/Slava-Shchipunov/awg-openwrt/refs/heads/master/amneziawg-install.sh)
sh <(wget -O - https://raw.githubusercontent.com/Slava-Shchipunov/awg-openwrt/refs/heads/feat/add-install-script/amneziawg-install.sh)
```
# Сборка пакетов для всех устройств, поддерживающих OpenWRT
@@ -51,7 +51,7 @@ For automatic configuration, I recommend using the [script](https://github.com/i
If you only need to install packages, I added the amneziawg-install script - it will automatically download packages from this repository for your device (only for the stable version of OpenWRT), and also offer to immediately configure the interface with the AmneziaWG protocol. If the user agrees, you will need to enter the config parameters that the script will request. The script will create an interface, configure firewall rules for it, and also **enable redirection of all traffic through the AmneziaWG tunnel** (check the Route Allowed IPs box in the Peer settings).
To run the script, connect to the router via SSH, enter the command and follow the instructions on the screen:
```
sh <(wget -O - https://raw.githubusercontent.com/Slava-Shchipunov/awg-openwrt/refs/heads/master/amneziawg-install.sh)
sh <(wget -O - https://raw.githubusercontent.com/Slava-Shchipunov/awg-openwrt/refs/heads/feat/add-install-script/amneziawg-install.sh)
```
# Building packages for all devices that support OpenWRT