Repository navigation
Releases
AWG Router v1.20.0
English · Русский · 中文 · فارسی
What's changed
-
AmneziaWG engine: the kernel module is recommended. The kernel module encrypts inside the Linux kernel and uses several times fewer system resources than amneziawg-go, which matters most on a small VPS with many clients or in a cascade. On a new install the installer asks which engine to use when the server fits, and the module comes first (press Enter). On an installed panel a notice at the top offers it, with an Install the module button; the panel then offers to restart the AWG server so it moves to the module. The new Server → AmneziaWG engine block shows what the server runs on and which module is loaded;
sudo awg-router install-kernelon the server does the same as the button (Ubuntu 22.04+ or Debian 12+, kernel 7.x included). Tunnels to exits follow the server, with nothing to pick. Nothing is left without a connection: if the module doesn't build, the server stays on amneziawg-go; if a kernel update leaves the module unable to load, the server comes up on amneziawg-go and the panel tells you; if the server doesn't come up on the module after two restarts, the panel switches the module off and moves the server to amneziawg-go by itself (in Telegram too). You can also switch the engine by hand in Server → AmneziaWG engine: the AWG server restarts and clients reconnect within seconds. When the server moves onto the module, the panel and Telegram say so, and the bot's status shows the engine. Thanks to @paris19891 (#24). -
CPU and memory in the status line. Next to the client count the panel now shows how loaded the server's processor and memory are. 90% and above is highlighted; hover for the load average and how much memory is in use. Instead of the container and interface names it now says Running or Error; hover for the reason, click to jump to the messages at the top.
-
The AWG server comes back by itself. If the AmneziaWG server's interface disappears while its container keeps running — for example, the kernel killed
amneziawg-gowhen memory ran out, and clients stayed offline until someone restarted it by hand — the panel now restarts the server by itself after half a minute and tells you in Telegram. In host mode the server's service is restarted the same way. To do it by hand: Server → Restart the AWG server. -
Telegram: server resources. A new checkbox in the notification settings: memory above 90% or CPU above 95% for 5 minutes, and when it is back to normal.
-
The panel over IPv6. The panel now opens over IPv6 as well as IPv4. An IPv6 address in Server public address now works the way this one field is meant to: the panel opens at it, gets its Let's Encrypt certificate for it, and clients connect to it unless you pick another address in Address in configs. The field's hint now explains this. The certificate now covers both the server's IPv4 and IPv6 addresses, so the panel opens without a warning at either. If Let's Encrypt can't check the second one (for example, port 80 is closed over it), the certificate covers the main address. Failed sign-ins from IPv6 are counted per /64 network, so changing the address does not get around the lockout. If your server's firewall has separate rules for IPv6, open the panel port there. Thanks to @paris19891 (#20).
-
Let's Encrypt through a web server on port 80 works. Since 1.14.0 the panel put its test file in the wrong folder, so validation through nginx, Apache or Caddy always failed with HTTP 404 and was rolled back. If port 80 on your server is taken by a web server, open System → Domain and certificate after the update and set up the validation again. Thanks to @xiaomiiraqly-alt (#21).
-
Exits at an IPv6 address. In the AmneziaVPN container mode Docker gives the container no IPv6 by default, so such an exit just showed "no connection". Now it says why and what to do: turn on IPv6 in Docker (README, "Limitations") or give the exit an IPv4 address or a domain with an A record. If IPv6 in Docker is already on, nothing changes. Thanks to @paris19891 (#20).
-
A domain in client configs. With a panel domain, the installer now asks which address client configs use: the domain keeps configs working if the server's IP changes. Answer it without a prompt with
AWGR_CLIENT_DOMAIN=yesorno. The installer no longer warns that the domain points elsewhere whenPUBLIC_HOSTis a domain, and--reconfigureasks again (Enter keeps what you had). Saving the Server tab no longer turns the.envaddress into a panel setting that silently overrode.env. Thanks to @koo-pub (#22, #23). -
Moving the AWG server to the host.
awg-router reconfigurecan now move the AmneziaWG server from its Docker container to the server itself with the same keys, port and clients, so client configs keep working. The container is only stopped and kept; if something goes wrong, it is put back. Thanks to @paris19891 (#25). -
Uninstall asks about the AWG server. If the panel's installer put the AWG server into a container, the server's keys and clients live in
/opt/awg-router/awg-server, and deleting the folder afterawg-router uninstalldeleted the server too. Nowawg-router uninstallasks whether to keep the server or remove it as well and says when the folder must stay. A reinstall that finds such an empty container says so and sets it aside, so its port is free again. A server on the host is no longer taken without asking: a reinstall orawg-router reconfigurethat finds one asks whether to keep it or install a new one instead, in a container or on the host (clients then need new configs; the old server's config is kept in a backup folder). Removing a host server withawg-router uninstallnow also removes the programs and the service file the panel had installed. Thanks to @paris19891 (#25, #27). -
Updates keep your
.env.awg-router updatewrote.envanew and dropped what you had added by hand (for exampleEXIT_ENGINEorAWG_CONTAINER), and resetTLS_MODE=selfsignedandRECONCILE_INTERVAL. Now everything from the previous.envis kept. -
No gap after the server restarts. After the AWG server's container restarted, its network had no routing rules for a few seconds while the tunnels to exits were starting, so clients went out directly — even with the Block fallback. Now the rules are in place before the tunnels start. Exits also wait for the kernel module instead of starting twice, and exits with domain names no longer hold the panel up one after another when DNS doesn't answer.
-
A faster panel. The panel keeps its connection open between refreshes and compresses what it sends: the first load is 3–4 times smaller, and refreshing with many clients is much lighter. With a thousand clients that have personal links, each refresh took the server a second and a half; now it takes a few hundredths. With very many clients the panel also refreshes less often on a slow phone, so the page stays responsive.
-
Safer against other pages of the same site. A page on another port of your server, or on a neighbouring subdomain, could make the panel restart the AWG server or start an update. The panel now refuses such requests.
-
One client can't stop domain rules. A client that connected to the domain rules' handler directly could make it loop on itself until domain rules stopped working for every client. Such connections are now closed at once.
-
Smaller fixes. Restoring a backup from another server no longer brings back the old server's address when this one uses the address from
.env: before, client configs, the panel link and the certificate got the old IP. An exit whose fallbacks lead back to itself (A → B → A) is now refused: with all of them down, clients would have been left without a connection. The certificate keeps renewing after an unexpected error instead of stopping until the panel restarts. The Subnet field on the Server tab now shows the subnet (10.8.1.0/24) for a server on the host too, not the server's own address10.8.1.1/24, which looked like a wrong subnet (thanks to @paris19891, #26). If the AWG server doesn't take a change (for example, disabling a client), the panel now keeps the previous configuration instead of showing a change that didn't happen, and a client past its date or traffic limit is switched off on the next try. A hugevpn://link no longer eats the server's memory. Ifstate.jsonis damaged (for example, the power went off during a write), the panel starts from the previous copy instead of not starting at all.
Known issue
SOCKS5 exits don't start on Intel Xeon processors with AMX (Xeon Scalable 4th generation and newer, common at cloud providers). The exit shows "tunnel to the proxy did not start" with no reason. The tunnel program is built with a system library that, since this release, refuses its signal stack on these processors. Exits through AWG servers and everything else keep working. Fixed in 1.21.0. To check your server: grep -c amx_tile /proc/cpuinfo — a number above 0 means it is affected.
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Движок AmneziaWG: рекомендуется модуль ядра. Модуль ядра шифрует внутри ядра Linux и расходует в разы меньше системных ресурсов, чем amneziawg-go, — особенно это важно на слабом VPS с многими клиентами или в каскаде. При новой установке установщик сам спрашивает, какой движок поставить, если сервер подходит, и модуль идёт первым (достаточно нажать Enter). На уже установленной панели модуль предлагает оповещение сверху с кнопкой ...
AWG Router v1.19.4
English · Русский · 中文 · فارسی
What's changed
-
Faster domain rules. The handler that carries all TCP 80/443 of clients with domain rules now relays data inside the kernel instead of copying it through Python, both on the direct path and through SOCKS5. At 1 Gbit/s through SOCKS5 it takes about half the CPU it used to, and the ceiling through SOCKS5 is higher. Saving settings no longer stalls open connections for up to a second with large address lists: lists are read in the background, and the ones that did not change are not read again. Connections also close more reliably when one side stops responding. Thanks to @alexeyvolodin (#19).
-
Busy port check in the installer. On a server with many open sockets the installer could miss that the chosen panel port was already taken. Thanks to @alexeyvolodin.
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
-
Правила по доменам быстрее. Обработчик, через который идёт весь TCP 80/443 клиентов с правилами по доменам, теперь пересылает данные внутри ядра, а не копирует их через Python — и напрямую, и через SOCKS5. На 1 Гбит/с через SOCKS5 он берёт примерно вдвое меньше процессора, а потолок скорости через SOCKS5 выше. Сохранение настроек больше не останавливает открытые соединения на время до секунды при больших списках адресов: списки читаются в фоне, а неизменённые не читаются заново. Соединения также надёжнее закрываются, когда одна из сторон перестаёт отвечать. Спасибо @alexeyvolodin (#19).
-
Проверка занятого порта в установщике. На сервере с большим числом открытых сокетов установщик мог не заметить, что выбранный порт панели уже занят. Спасибо @alexeyvolodin.
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
-
域名规则更快。 承载有域名规则的客户端全部 TCP 80/443 流量的处理程序,现在在内核中转发数据,而不再经过 Python 复制,直连和经 SOCKS5 都是如此。经 SOCKS5 跑 1 Gbit/s 时,CPU 占用约为原来的一半,经 SOCKS5 的速度上限也更高。在地址列表很大时,保存设置不再让已打开的连接停顿最长一秒:列表在后台读取,未改动的列表不会重新读取。当一方不再响应时,连接也会更可靠地关闭。感谢 @alexeyvolodin(#19)。
-
安装程序检查端口是否被占用。 在打开了大量套接字的服务器上,安装程序可能没有发现所选的面板端口已被占用。感谢 @alexeyvolodin。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
-
قانونهای دامنه سریعتر. پردازشگری که همهٔ TCP 80/443 کلاینتهای دارای قانون دامنه از آن میگذرد، اکنون دادهها را درون هستهٔ سیستم جابهجا میکند و دیگر آنها را از پایتون کپی نمیکند؛ هم در مسیر مستقیم و هم از راه SOCKS5. در سرعت 1 Gbit/s از راه SOCKS5 حدود نصف پردازندهای را که قبلاً میگرفت مصرف میکند و سقف سرعت از راه SOCKS5 بالاتر است. ذخیرهٔ تنظیمات دیگر با فهرستهای بزرگ نشانی، اتصالهای باز را تا یک ثانیه متوقف نمیکند: فهرستها در پسزمینه خوانده میشوند و فهرستهایی که تغییر نکردهاند دوباره خوانده نمیشوند. وقتی یکی از دو طرف دیگر پاسخ نمیدهد، اتصالها هم مطمئنتر بسته میشوند. سپاس از @alexeyvolodin (#19).
-
بررسی درگاه اشغالشده در نصبکننده. روی سروری با تعداد زیادی سوکت باز، نصبکننده ممکن بود متوجه نشود که درگاه انتخابشده برای پنل از قبل اشغال است. سپاس از @alexeyvolodin.
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.19.3
English · Русский · 中文 · فارسی
What's changed
- Release download fallback. When github.com fails to serve the release archive (on servers in Russia
/releases/download/sometimes answers HTTP 504), the installer and the update now take the same archive and its checksum through api.github.com, which sends them straight to GitHub's file storage. The checksum is checked as before, and a failed download still never installs unreleased code. Thanks to @LCF30 for the fix (#13).
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
The update runs the installer that is already on the server, so if it stops with "Could not download the latest release (HTTP 504)", run the new installer once instead (settings are kept); later updates will use the fallback by themselves:
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | sudo bash
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Запасной путь скачивания релиза. Если github.com не отдаёт архив релиза (на серверах в России
/releases/download/иногда отвечает HTTP 504), установщик и обновление теперь берут тот же архив и его контрольную сумму через api.github.com, который отправляет их прямо в файловое хранилище GitHub. Контрольная сумма проверяется как раньше, и неудачное скачивание по-прежнему никогда не ставит невыпущенный код. Спасибо @LCF30 за исправление (#13).
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Обновление запускает установщик, который уже лежит на сервере, поэтому если оно останавливается с «Could not download the latest release (HTTP 504)», один раз запустите вместо него новый установщик (настройки сохранятся); следующие обновления пойдут запасным путём сами:
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | sudo bash
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
- 版本下载的备用途径。 当 github.com 无法提供版本压缩包时(在俄罗斯的服务器上,
/releases/download/有时返回 HTTP 504),安装程序和更新现在会通过 api.github.com 获取同一个压缩包及其校验和,api.github.com 会将请求直接转到 GitHub 的文件存储。校验和照常检查,下载失败时仍然绝不会安装未发布的代码。感谢 @LCF30 的修复(#13)。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
更新使用的是服务器上已有的安装程序,因此如果它因 "Could not download the latest release (HTTP 504)" 而停止,请改为运行一次新的安装程序(设置会保留);之后的更新会自动使用备用途径:
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | sudo bash
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
- راه جایگزین برای دانلود نسخه. وقتی github.com بستهٔ نسخه را نمیدهد (روی سرورهای روسیه
/releases/download/گاهی HTTP 504 برمیگرداند)، نصبکننده و بهروزرسانی اکنون همان بسته و چکسام آن را از راه api.github.com میگیرند که آنها را مستقیم به فضای ذخیرهسازی فایل گیتهاب میفرستد. چکسام مثل قبل بررسی میشود و دانلود ناموفق همچنان هرگز کد منتشرنشده را نصب نمیکند. سپاس از @LCF30 برای این اصلاح (#13).
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
بهروزرسانی همان نصبکنندهای را اجرا میکند که از قبل روی سرور است؛ پس اگر با پیام «Could not download the latest release (HTTP 504)» متوقف شد، یک بار بهجای آن نصبکنندهٔ تازه را اجرا کنید (تنظیمات حفظ میشوند)؛ بهروزرسانیهای بعدی خودشان از راه جایگزین استفاده میکنند:
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | sudo bash
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.19.2
English · Русский · 中文 · فارسی
What's changed
-
Session cookie. The tag in the session cookie that ties it to the current password is now an HMAC with the panel's secret key instead of a plain SHA-256 of the password, so a stolen cookie gives nothing to test password guesses against. Everyone signs in again once after the update.
-
Tab from the address. An address such as
…/#toStringno longer breaks the page: an unknown tab opens "Overview".
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
-
Cookie сессии. Метка в cookie сессии, которая привязывает её к текущему паролю, теперь считается как HMAC с секретным ключом панели, а не как голый SHA-256 от пароля: по украденному cookie нельзя проверять догадки о пароле. После обновления всем нужно один раз войти заново.
-
Вкладка из адреса. Адрес вида
…/#toStringбольше не ломает страницу: неизвестная вкладка открывает «Обзор».
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
-
会话 Cookie。 会话 Cookie 中将其与当前密码绑定的标记,现在使用面板密钥计算的 HMAC,而不是密码的普通 SHA-256:被盗的 Cookie 无法用来验证猜测的密码。更新后所有人需要重新登录一次。
-
地址中的选项卡。 类似
…/#toString的地址不再导致页面出错:未知的选项卡会打开「概览」。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
-
کوکی نشست. برچسبی در کوکی نشست که آن را به گذرواژهٔ فعلی پیوند میدهد، اکنون HMAC با کلید مخفی پنل است، نه SHA-256 سادهٔ گذرواژه؛ با کوکی دزدیدهشده نمیتوان حدسهای گذرواژه را آزمود. پس از بهروزرسانی، همه باید یک بار دوباره وارد شوند.
-
زبانه از نشانی. نشانیای مانند
…/#toStringدیگر صفحه را خراب نمیکند: زبانهٔ ناشناخته «نمای کلی» را باز میکند.
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.19.1
English · Русский · 中文 · فارسی
What's changed
-
Interface polish. The common speed limit panel on the Server tab now spans the full width like the other panels. On the Exits tab there is a gap between the empty hint and the "Direct" card. The QR code is centred when the buttons wrap below it (always the case in the dark theme). "Everything else" on the Routing tab shows "Load balancing" without the scales emoji.
-
Verifiable releases. The images and the archive are built with signed build attestations, and the images have an SBOM (list of components). Check with
gh attestation verify oci://ghcr.io/r-slashslash/awg-router:<version> -R r-slashslash/AWG-Router. Nothing changes for the panel itself.
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
-
Мелкие правки интерфейса. Панель общего ограничения скорости на вкладке «Сервер» занимает всю ширину, как остальные панели. На вкладке «Выходы» между пустой подсказкой и карточкой «Напрямую» есть отступ. QR-код стоит по центру, когда кнопки уходят под него (в тёмной теме так всегда). В списке «Всё остальное» на вкладке «Маршрутизация» у «Балансировки» убран эмодзи с весами.
-
Проверяемые релизы. Образы и архив собираются с подписанной аттестацией сборки, у образов есть SBOM (список компонентов). Проверка:
gh attestation verify oci://ghcr.io/r-slashslash/awg-router:<version> -R r-slashslash/AWG-Router. На работу самой панели это не влияет.
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
-
界面小幅调整。 「服务器」选项卡中的总限速面板与其他面板一样占满整个宽度。「出口」选项卡中,空白提示与「直连」卡片之间有了间距。按钮换行到二维码下方时(深色主题下总是如此),二维码居中显示。「路由」选项卡中「其余流量」的下拉项「负载均衡」不再带天平表情符号。
-
可验证的发布。 镜像和归档带有签名的构建证明,镜像另有 SBOM(组件清单)。验证:
gh attestation verify oci://ghcr.io/r-slashslash/awg-router:<version> -R r-slashslash/AWG-Router。面板本身不受影响。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
-
اصلاحات جزئی رابط. پنل محدودیت سرعت کل در زبانهٔ «سرور» مانند پنلهای دیگر تمام عرض را میگیرد. در زبانهٔ «خروجیها» بین راهنمای خالی و کارت «مستقیم» فاصله هست. وقتی دکمهها زیر کد QR میروند (در پوستهٔ تیره همیشه)، کد QR وسط قرار میگیرد. در زبانهٔ «مسیریابی»، گزینهٔ «بقیه ترافیک» دیگر «توزیع بار» را با شکلک ترازو نشان نمیدهد.
-
انتشارهای قابل راستیآزمایی. ایمیجها و آرشیو با گواهی امضاشدهٔ ساخت ساخته میشوند و ایمیجها SBOM (فهرست اجزا) دارند. بررسی:
gh attestation verify oci://ghcr.io/r-slashslash/awg-router:<version> -R r-slashslash/AWG-Router. به خود پنل تأثیری ندارد.
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.19.0
English · Русский · 中文 · فارسی
What's changed
- Load balancing across exits. On the Routing tab, Everything else can be Load balancing instead of one exit. Each client gets the least busy of the checked exits; if an exit has a speed limit, load is measured against it, so servers of different capacity are compared fairly. If one exit stays overloaded while another has room, the panel moves a client over within a few minutes, and the client's open downloads and calls don't drop: only its new connections use the new exit. Clients of an exit that fails move at once. If all checked exits are down, traffic takes the path you choose. Rules and clients' own exits work as before.
- Speed limits. Off until you set a value, download and upload separately: for all clients together (Server tab), per client (client card) and per exit (exit settings). Within the common limit the speed is split evenly between those downloading right now. The strictest limit applies. Connections don't drop, the internet just gets slower, and calls and games stay smooth under load.
- Current speed of each exit on the Exits tab and the overview.
Upload limits for clients and download limits for exits need the kernel's ifb module. The installer and the update add it by themselves (linux-modules-extra on cloud kernels); if the kernel has no such package, the panel shows a warning and the other limits still work.
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Балансировка между выходами. На вкладке «Маршрутизация» в строке «Всё остальное» можно выбрать «Балансировка» вместо одного выхода. Каждый клиент получает самый свободный из отмеченных выходов; если у выхода задано ограничение скорости, загрузка считается от него, поэтому серверы разной мощности сравниваются честно. Если один выход долго перегружен, а у другого есть запас, панель через несколько минут переводит клиента, и его открытые загрузки и звонки не рвутся: через новый выход идут только новые соединения. Клиенты упавшего выхода переходят сразу. Если все отмеченные выходы недоступны, трафик идёт выбранным вами путём. Правила и личные выходы клиентов работают как раньше.
- Ограничение скорости. Выключено, пока не задано, загрузка и отдача отдельно: для всех клиентов вместе (вкладка «Сервер»), для клиента (карточка клиента) и для выхода (настройки выхода). Внутри общего предела скорость делится поровну между теми, кто сейчас качает. Действует самое строгое ограничение. Соединения не рвутся, интернет просто становится медленнее, а звонки и игры под нагрузкой работают нормально.
- Текущая скорость каждого выхода на вкладке «Выходы» и в обзоре.
Для ограничения отдачи клиентов и загрузки через выходы нужен модуль ядра ifb. Установка и обновление ставят его сами (на облачных ядрах — пакет linux-modules-extra); если для ядра такого пакета нет, панель показывает предупреждение, а остальные ограничения работают.
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
- 出口负载均衡。 在「路由」选项卡中,「其余流量」可以选择「负载均衡」,而不是单个出口。每个客户端分配到所选出口中最空闲的一个;若出口设置了速度限制,负载按该限制计算,因此性能不同的服务器也能公平比较。如果某个出口持续过载而另一个仍有余量,面板会在几分钟内迁移客户端,客户端已打开的下载和通话不会中断:只有新连接走新出口。出口故障时,其客户端会立即迁移。所选出口全部不可用时,流量走你选择的路径。规则和客户端自己的出口照常生效。
- 速度限制。 未设置时关闭,下载和上传分开设置:所有客户端合计(「服务器」选项卡)、单个客户端(客户端卡片)和每个出口(出口设置)。在合计上限内,速度在正在下载的客户端之间平均分配。以最严格的限制为准。连接不会断开,只是网速变慢,负载下通话和游戏依然流畅。
- 每个出口的当前速度 显示在「出口」选项卡和概览中。
限制客户端上传和出口下载需要内核的 ifb 模块。安装和更新会自动安装它(云服务器内核使用 linux-modules-extra 软件包);如果该内核没有这样的软件包,面板会显示警告,其他限制照常生效。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
- توزیع بار بین خروجیها. در زبانهٔ «مسیریابی»، برای «بقیهٔ ترافیک» میتوان بهجای یک خروجی «توزیع بار» را انتخاب کرد. هر کلاینت خلوتترین خروجی را از میان خروجیهای انتخابشده میگیرد؛ اگر برای خروجی محدودیت سرعت تعیین شده باشد، بار نسبت به آن سنجیده میشود، پس سرورهایی با توان متفاوت منصفانه مقایسه میشوند. اگر یک خروجی مدتی پربار بماند و دیگری جا داشته باشد، پنل ظرف چند دقیقه کلاینتی را جابهجا میکند و دانلودها و تماسهای باز او قطع نمیشوند: فقط اتصالهای تازه از خروجی جدید میروند. کلاینتهای خروجیِ از کار افتاده فوراً جابهجا میشوند. اگر همهٔ خروجیهای انتخابشده در دسترس نباشند، ترافیک از مسیری که خودتان انتخاب کردهاید میرود. قوانین و خروجیهای اختصاصی کلاینتها مثل قبل کار میکنند.
- محدودیت سرعت. تا وقتی مقداری تعیین نشود خاموش است، دانلود و آپلود جداگانه: برای همهٔ کلاینتها با هم (زبانهٔ «سرور»)، برای هر کلاینت (کارت کلاینت) و برای هر خروجی (تنظیمات خروجی). در سقف مشترک، سرعت بهطور مساوی بین کسانی که همین الان دانلود میکنند تقسیم میشود. سختگیرانهترین محدودیت اعمال میشود. اتصالها قطع نمیشوند، فقط اینترنت کندتر میشود و تماسها و بازیها زیر بار روان میمانند.
- سرعت فعلی هر خروجی در زبانهٔ «خروجیها» و نمای کلی.
محدود کردن آپلود کلاینتها و دانلود از خروجیها به ماژول ifb هسته نیاز دارد. نصب و بهروزرسانی خودشان آن را نصب میکنند (در هستههای ابری بستهٔ linux-modules-extra)؛ اگر برای هسته چنین بستهای نباشد، پنل هشدار نشان میدهد و بقیهٔ محدودیتها کار میکنند.
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.18.0
English · Русский · 中文 · فارسی
What's changed
- The installer asks for the panel port. Like the AmneziaWG port: Enter takes a random free 4-digit port, as before, or type your own. A port that is busy, blocked by browsers or out of range is explained and asked again.
--reconfigureoffers the current port; an update keeps it without asking. Without a terminal:AWGR_PORT=…. - The connection name in a vpn:// key is just the client's name. AmneziaVPN showed the connection as "name · server address", but the app shows the server address on its main screen anyway, so the address is no longer repeated in the name. Keys issued earlier keep their old name until they are imported again.
- One "Add exit" button. With no exits yet, the Exits tab showed the button twice: at the top and in the empty card. Now it is only at the top, as on the Clients tab.
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Установщик спрашивает порт панели. Как порт AmneziaWG: Enter — случайный свободный 4-значный порт, как раньше, или введите свой. Если порт занят, блокируется браузерами или вне диапазона, установщик объяснит и спросит снова.
--reconfigureпредлагает текущий порт, обновление сохраняет его без вопросов. Без терминала:AWGR_PORT=…. - В ключе vpn:// название подключения — только имя клиента. AmneziaVPN показывал подключение как «имя · адрес сервера», но адрес сервера приложение и так показывает на главном экране, поэтому в названии он больше не повторяется. У ключей, выданных раньше, название останется прежним, пока их не импортируют заново.
- Одна кнопка «Добавить выход». Пока выходов нет, на вкладке «Выходы» кнопка была дважды: наверху и в пустой карточке. Теперь она только наверху, как на вкладке «Клиенты».
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
- 安装程序会询问面板端口。 与 AmneziaWG 端口一样:按 Enter 使用随机的空闲 4 位端口(与以前相同),或输入自己的端口。如果端口被占用、被浏览器屏蔽或超出范围,安装程序会说明原因并再次询问。
--reconfigure会建议当前端口;更新时保持不变且不询问。无终端时:AWGR_PORT=…。 - vpn:// 密钥中的连接名称只保留客户端名称。 AmneziaVPN 以前把连接显示为“名称 · 服务器地址”,但应用主界面本来就会显示服务器地址,因此名称中不再重复地址。之前发放的密钥在重新导入前保留旧名称。
- 只保留一个“添加出口”按钮。 尚无出口时,「出口」选项卡上的按钮出现了两次:顶部和空白卡片中。现在只在顶部,与「客户端」选项卡一致。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
- نصبکننده پورت پنل را میپرسد. مانند پورت AmneziaWG: با Enter یک پورت ۴ رقمی آزاد تصادفی انتخاب میشود، مثل قبل، یا پورت خودتان را وارد کنید. اگر پورت اشغال باشد، مرورگرها آن را مسدود کنند یا خارج از محدوده باشد، نصبکننده دلیل را میگوید و دوباره میپرسد.
--reconfigureپورت فعلی را پیشنهاد میکند و بهروزرسانی بدون پرسش آن را نگه میدارد. بدون ترمینال:AWGR_PORT=…. - نام اتصال در کلید vpn:// فقط نام کلاینت است. AmneziaVPN اتصال را به شکل «نام · نشانی سرور» نشان میداد، اما برنامه نشانی سرور را در صفحهٔ اصلی خود هم نشان میدهد، پس دیگر در نام تکرار نمیشود. کلیدهایی که پیشتر صادر شدهاند تا وارد کردن دوباره نام قبلی خود را نگه میدارند.
- فقط یک دکمهٔ «افزودن خروجی». وقتی هنوز خروجیای نیست، زبانهٔ «خروجیها» دکمه را دو بار نشان میداد: بالا و در کارت خالی. اکنون فقط بالاست، مانند زبانهٔ «کلاینتها».
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.17.1
English · Русский · 中文 · فارسی
What's changed
- Ready images are actually used now. In 1.17.0 the installer still built the image on the server instead of downloading the ready one: when the release was published, our release workflow replaced the archive with one that had no list of ready images. So the update silently went to the build and hung on Alpine packages where they are filtered. Fixed: updating to 1.17.1 downloads the ready image (from Russia it takes seconds).
- The installer says why it builds. If the download has no ready image (an install from a branch or an older release), the installer now warns that it builds the image on the server and that this needs dl-cdn.alpinelinux.org and github.com, instead of waiting silently. Thanks @LCF30 for finding and explaining both (#8).
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Готовые образы теперь действительно используются. В 1.17.0 установщик всё равно собирал образ на сервере, а не скачивал готовый: при публикации релиза наш релизный workflow заменил архив архивом без списка готовых образов. Поэтому обновление молча уходило в сборку и висело на пакетах Alpine там, где они фильтруются. Исправлено: обновление до 1.17.1 скачивает готовый образ (из России — за секунды).
- Установщик объясняет, почему собирает. Если в скачанном нет готового образа (установка с ветки или из старого релиза), установщик теперь предупреждает, что собирает образ на сервере и что для этого нужны dl-cdn.alpinelinux.org и github.com, а не ждёт молча. Спасибо @LCF30, что нашёл и подробно разобрал обе проблемы (#8).
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
- 现在真正使用现成镜像了。 在 1.17.0 中,安装程序仍在服务器上构建镜像而不是下载现成的:发布版本时,我们的发布工作流把归档替换成了一个没有现成镜像列表的归档。因此更新会悄悄转为构建,并在 Alpine 软件包被过滤的地方卡住。已修复:更新到 1.17.1 会下载现成镜像。
- 安装程序会说明为何构建。 如果下载内容中没有现成镜像(从分支或旧版本安装),安装程序现在会提示它将在服务器上构建镜像,且需要访问 dl-cdn.alpinelinux.org 和 github.com,而不是默默等待。感谢 @LCF30 发现并详细分析了这两个问题(#8)。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
- ایمیجهای آماده اکنون واقعاً استفاده میشوند. در 1.17.0 نصبکننده همچنان ایمیج را روی سرور میساخت و ایمیج آماده را دانلود نمیکرد: هنگام انتشار نسخه، workflow انتشار ما آرشیو را با آرشیوی بدون فهرست ایمیجهای آماده جایگزین کرد. برای همین بهروزرسانی بیصدا به ساخت میرفت و جایی که بستههای Alpine فیلتر میشوند گیر میکرد. رفع شد: بهروزرسانی به 1.17.1 ایمیج آماده را دانلود میکند.
- نصبکننده میگوید چرا میسازد. اگر در دانلود ایمیج آماده نباشد (نصب از یک شاخه یا نسخهٔ قدیمی)، نصبکننده اکنون هشدار میدهد که ایمیج را روی سرور میسازد و برای این کار به dl-cdn.alpinelinux.org و github.com نیاز است، بهجای انتظار بیصدا. از @LCF30 برای یافتن و توضیح دقیق هر دو مشکل سپاسگزاریم (#8).
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
AWG Router v1.17.0
English · Русский · 中文 · فارسی
What's changed
- Ready images instead of building on the server. Installing and updating used to build the image on the server, and the build reaches dl-cdn.alpinelinux.org and GitHub over git, which are filtered in Russia, China and Iran, so the panel could not be installed or updated there. Now every release comes with ready images: the panel (amd64, arm64) and the AmneziaWG server (amd64), built from the same code and published to ghcr.io. The installer,
awg-router updateand System → Update download the image instead of building it, which is also much faster. The image is pinned by its digest in the release archive, so it is exactly the one built for this release. If there is no ready image for your CPU or the registry doesn't answer within 10 minutes, the image is built on the server as before;AWGR_BUILD=1always builds it. An update also removes the previous panel image. Thanks @LCF30 for the report (#8). - More problems at the top of the panel. Two problems that were only visible on the System tab now also get a red banner on every other tab, with a button to System: an HTTPS certificate that wasn't obtained (the panel serves a temporary one and browsers warn), or one that can't be renewed with less than two days left; and an update that failed.
- SOCKS5 exit: a proxy with nothing behind it is no longer "working". The check counted the proxy's own "connection open" answer, but a proxy on this server (Xray, for example) gives it before it has reached the foreign server. So an exit whose foreign address was blocked stayed green, stayed in the fallback chain, and no "exit stopped working" message came. Now, after the connection, the panel sends the start of a TLS handshake, and the exit works only if 1.1.1.1 or 8.8.8.8 answers from behind the proxy; otherwise it is shown as not working ("the proxy accepted the connection, but nothing answers behind it"), clients move to its fallback and the notification is sent. The time shown for the exit is now the time to that answer. Thanks @LCF30 for the report (#9).
- Telegram: notifications no longer depend on the exit they report about. If the exit chosen in "Send through" doesn't work, the message tries the other working exits and then goes directly from the server. If nothing works, it waits and is retried (after 30 seconds, then 1, 2 and 5 minutes; up to 50 messages, none older than a day) and goes out in order when Telegram is reachable again; a message that waited more than 90 seconds says when the event happened. The queue lives in memory, so a panel restart clears it. A refusal from Telegram itself (wrong token or chat) is not retried. A sending error is now a red banner at the top of the panel with the number of waiting messages, not only a small line in the Telegram settings. "Send test message" and backups still use exactly the chosen path. Thanks @LCF30 for the report (#10).
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Готовые образы вместо сборки на сервере. Установка и обновление собирали образ на сервере, а сборка обращается к dl-cdn.alpinelinux.org и к GitHub по git, которые фильтруются в России, Китае и Иране, поэтому там панель нельзя было поставить или обновить. Теперь у каждого релиза есть готовые образы: панель (amd64, arm64) и сервер AmneziaWG (amd64), собранные из того же кода и опубликованные в ghcr.io. Установщик,
awg-router updateи «Система» → «Обновить» скачивают образ вместо сборки, и это ещё и намного быстрее. Образ закреплён своим digest в архиве релиза, поэтому это ровно тот образ, что собран для этого релиза. Если готового образа для вашего процессора нет или реестр не отвечает 10 минут, образ собирается на сервере, как раньше;AWGR_BUILD=1— всегда собирать. Обновление также удаляет прежний образ панели. Спасибо @LCF30 за сообщение (#8). - Больше проблем вверху панели. Две проблемы, которые были видны только на вкладке «Система», теперь показываются красной полосой и на остальных вкладках, с кнопкой перехода в «Систему»: сертификат HTTPS не получен (панель отдаёт временный, браузер предупреждает) или не продлевается, а до конца срока меньше двух суток; обновление не прошло.
- Выход SOCKS5: прокси, за которым ничего нет, больше не «работает». Проверка засчитывала ответ самого прокси «соединение открыто», но прокси на этом же сервере (например, Xray) отвечает так, не дозвонившись до зарубежного сервера. Поэтому выход с заблокированным зарубежным адресом оставался зелёным, оставался в цепочке резерва, и уведомление «выход перестал работать» не приходило. Теперь после соединения панель посылает начало TLS-рукопожатия, и выход работает, только если из-за прокси отвечает 1.1.1.1 или 8.8.8.8; иначе он показан как неработающий («прокси принял соединение, но за ним никто не отвечает»), клиенты уходят на его резервный выход и приходит уведомление. Время у выхода теперь — до этого ответа. Спасибо @LCF30 за сообщение (#9).
- Telegram: уведомления больше не зависят от выхода, о котором сообщают. Если выход, выбранный в «Отправлять через», не работает, сообщение пробует остальные работающие выходы, а затем уходит напрямую с сервера. Если не работает ничего, оно ждёт и отправляется повторно (через 30 секунд, затем 1, 2 и 5 минут; до 50 сообщений, не старше суток) и уходит по порядку, когда Telegram снова доступен; сообщение, которое ждало дольше 90 секунд, говорит, когда произошло событие. Очередь хранится в памяти, поэтому перезапуск панели её очищает. Отказ самого Telegram (неверный токен или чат) повторно не отправляется. Ошибка отправки теперь — красная полоса вверху панели с числом ждущих сообщений, а не только мелкая строка в настройках Telegram. «Отправить тест» и резервные копии по-прежнему идут ровно по выбранному пути. Спасибо @LCF30 за сообщение (#10).
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
- 用现成镜像代替在服务器上构建。 安装和更新以前都要在服务器上构建镜像,而构建需要访问 dl-cdn.alpinelinux.org 并通过 git 访问 GitHub,这些在俄罗斯、中国和伊朗会被过滤,因此在那里无法安装或更新面板。现在每个版本都附带现成的镜像:面板(amd64、arm64)和 AmneziaWG 服务器(amd64),由同一份代码构建并发布到 ghcr.io。安装程序、
awg-router update和 系统 → 更新 会直接下载镜像而不是构建,速度也快得多。镜像通过其 digest 固定在版本归档中,因此正是为该版本构建的那个镜像。如果没有适合你的 CPU 的现成镜像,或镜像仓库 10 分钟内没有响应,镜像会像以前一样在服务器上构建;AWGR_BUILD=1表示始终构建。更新还会删除之前的面板镜像。感谢 @LCF30 的反馈(#8)。 - 更多问题显示在面板顶部。 以前只在「系统」选项卡中可见的两个问题,现在也会在其他所有选项卡顶部以红色横幅显示,并带有前往「系统」的按钮:未获得 HTTPS 证书(面板使用临时证书,浏览器会警告),或证书无法续期且剩余不到两天;以及更新失败。
- SOCKS5 出口:后面什么都没有的代理不再算“正常”。 检查曾把代理自己返回的“连接已建立”当作成功,但本机上的代理(例如 Xray)在还没连到国外服务器时就会这样回答。因此国外地址被封的出口仍显示绿色、仍留在备用链中,也收不到“出口已停止工作”的通知。现在连接建立后,面板会发送 TLS 握手的开头,只有当代理后面的 1.1.1.1 或 8.8.8.8 作出回应时出口才算正常;否则显示为不可用(“代理接受了连接,但其后没有任何回应”),客户端切换到其备用出口并发出通知。出口显示的时间现在是到该回应的时间。感谢 @LCF30 的反馈(#9)。
- Telegram:通知不再依赖它所报告的那个出口。 如果「发送方式」中选择的出口不可用,消息会先尝试其他正常的出口,然后直接从服务器发出。如果都不通,消息会等待并重试(30 秒后,然后 1、2、5 分钟;最多 50 条,不超过一天),在 Telegram 恢复可达后按顺序发出;等待超过 90 秒的消息会注明事件发生的时间。队列保存在内存中,面板重启会清空。Telegram 自身的拒绝(令牌或聊天错误)不会重试。发送错误现在以面板顶部的红色横幅显示并附带等待中的消息数,而不只是 Telegram 设置里的一行小字。“发送测试消息”和备份仍严格走所选路径。感谢 @LCF30 的反馈(#10)。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
- ایمیج آماده بهجای ساخت روی سرور. نصب و بهروزرسانی پیشتر ایمیج را روی سرور میساختند و ساخت به dl-cdn.alpinelinux.org و از راه git به گیتهاب نیاز دارد که در روسیه، چین و ایران فیلتر میشوند، پس آنجا نصب یا بهروزرسانی پنل ممکن نبود. اکنون هر نسخه ایمیجهای آماده دارد: پنل (amd64، arm64) و سرور AmneziaWG (amd64) که از همان کد ساخته و در ghcr.io منتشر شدهاند. نصبکننده،
awg-router updateو سیستم ← بهروزرسانی ایمیج را بهجای ساختن دانلود میکنند که بسیار سریعتر هم هست. ایمیج با digest خود در آرشیو نسخه ثابت شده، پس دقیقاً همان ایمیجی است که برای این نسخه ساخته شده. اگر ایمیج آماده برای پردازندهٔ شما نباشد یا رجیستری تا ۱۰ دقیقه پاسخ ندهد، ایمیج مانند قبل روی سرور ساخته میشود؛AWGR_BUILD=1یعنی همیشه ساخته شود. بهروزرسانی ایمیج قبلی پنل را هم پاک میکند. از @LCF30 برای گزارش سپاسگزاریم (#8). - مشکلات بیشتر در بالای پنل. دو مشکل که پیشتر فقط در زبانهٔ «سیستم» دیده میشدند، اکنون در زبانههای دیگر هم با نوار قرمز و دکمهٔ رفتن به «سیستم» نشان داده میشوند: گواهی HTTPS دریافت نشده (پنل گواهی موقت میدهد و مرورگر هشدار میدهد) یا تمدید نمیشود و کمتر از دو روز به پایانش مانده؛ و بهروزرسانی ناموفق.
- خروجی SOCKS5: پراکسیای که پشتش چیزی نیست دیگر «کار میکند» حساب نمیشود. بررسی، پاسخ «اتصال برقرار شد» خودِ پراکسی را موفقیت میشمرد، اما پراکسی روی همین سرور (مثلاً Xray) پیش از رسیدن به سرور خارجی همین پاسخ را میدهد. برای همین خروجیای که نشانی خارجیاش مسدود شده بود سبز میماند، در زنجیرهٔ پشتیبان میماند و اعلان «خروجی از کار افتاد» نمیآمد. اکنون پس از اتصال، پنل ابتدای دستدهی TLS را میفرستد و خروجی فقط وقتی کار میکند که 1.1.1.1 یا 8.8.8.8 از پشت پراکسی پاسخ دهد؛ در غیر این صورت ناکار نشان داده میشود («پراکسی اتصال را پذیرفت، اما پشت آن چیزی پاسخ نمیدهد»)، کلاینتها به خروجی پشتیبانش میروند و اعلان فرستاده میشود. زمان نمایشدادهشده برای خروجی اکنون زمان رسیدن به همین پاسخ است. از @LCF30 برای گزارش سپاسگزاریم (#9).
- تلگرام: اعلانها دیگر به خروجیای که از آن خبر میدهند وابسته نیستند. اگر خروجی انتخابشده در «ارسال از طریق» کار نکند، پیام خروجیهای سالم دیگر را امتحان میکند و ...
AWG Router v1.16.0
English · Русский · 中文 · فارسی
What's changed
- Encrypted DNS on the server. "DNS on the server" now encrypts queries to the servers from the "DNS" field: DoH (DNS over HTTPS, port 443) by default, or DoT (port 853), or none — the new setting DNS query encryption under it. Neither the ISP of this server nor the ISP of the exit can see which sites clients open or spoof the answers: the server's certificate is checked. Queries still go through each client's own exit, so CDNs return nodes in the right country. For clients whose main route is "direct", queries leave straight from this server, as with AmneziaDNS: that's right for them, because their traffic leaves from here too, and encryption keeps the ISP from reading or spoofing them. Use servers that support encryption, for example 1.1.1.1 and 8.8.8.8 (also 1.0.0.1, 8.8.4.4, 9.9.9.9, 149.112.112.112). If the encrypted channel is down, plain DNS is not used: clients ask the second DNS from their config, and the panel and the bot show "DNS servers don't answer". If you turned "DNS on the server" on in 1.15.0, it stays unencrypted until you choose DoH or DoT.
- Bot: Server › Status shows the DNS encryption mode and a warning when the DNS servers don't answer.
- More precise description. The hint and README said that with AmneziaDNS the local ISP can spoof answers. AmneziaDNS encrypts its queries, so the ISP can only block the connection; the real catch is that the answers are fetched from the entry country.
Update
System → Update in the panel (since 1.4.0), or on the server:
awg-router update
New install (Ubuntu or Debian, as root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
Русский
Что изменилось
- Шифрование DNS на сервере. «DNS на сервере» теперь шифрует запросы к серверам из поля «DNS»: по умолчанию DoH (DNS поверх HTTPS, порт 443), можно DoT (порт 853) или без шифрования — новая настройка «Шифрование запросов DNS» под ним. Ни провайдер этого сервера, ни провайдер выхода не видят, какие сайты открывают клиенты, и не подменят ответы: сертификат сервера проверяется. Запросы по-прежнему идут через выход каждого клиента, поэтому CDN выдаёт узлы в нужной стране. У клиентов с основным путём «напрямую» запросы уходят прямо с этого сервера, как у AmneziaDNS: для них это правильно, ведь их трафик уходит отсюда же, а шифрование не даёт провайдеру прочитать или подменить ответы. Указывайте серверы с поддержкой шифрования, например 1.1.1.1 и 8.8.8.8 (подходят и 1.0.0.1, 8.8.4.4, 9.9.9.9, 149.112.112.112). Если зашифрованный канал недоступен, открытый DNS не используется: клиенты спросят второй DNS из конфига, а панель и бот покажут «Серверы DNS не отвечают». Если вы включили «DNS на сервере» в 1.15.0, он остаётся без шифрования, пока вы не выберете DoH или DoT.
- Бот: «Сервер › Состояние» показывает режим шифрования DNS и предупреждение, если серверы DNS не отвечают.
- Точнее описание. В подсказке и README было сказано, что у AmneziaDNS местный провайдер может подменить ответы. AmneziaDNS шифрует запросы, поэтому провайдер может только заблокировать соединение; настоящий подвох в том, что ответы получены из страны входа.
Обновление
«Система» → «Обновить» в панели (начиная с 1.4.0) или на сервере:
awg-router update
Новая установка (Ubuntu или Debian, от root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
中文
改动
- 服务器上的 DNS 支持加密。 「服务器上的 DNS」现在会加密发往「DNS」字段中服务器的查询:默认 DoH(基于 HTTPS 的 DNS,443 端口),也可选 DoT(853 端口)或不加密——即其下方的新设置 DNS 查询加密。这台服务器和出口的运营商都看不到客户端访问了哪些网站,也无法篡改答案:服务器证书会被校验。查询仍经由每个客户端自己的出口,因此 CDN 会返回正确国家的节点。主路径为「直连」的客户端,其查询像 AmneziaDNS 那样直接从这台服务器发出:这对他们是正确的,因为他们的流量也从这里发出,而加密使运营商无法读取或篡改答案。请使用支持加密的服务器,例如 1.1.1.1 和 8.8.8.8(1.0.0.1、8.8.4.4、9.9.9.9、149.112.112.112 也可以)。如果加密通道不可用,不会改用未加密的 DNS:客户端会查询配置中的第二个 DNS,面板和机器人会显示「DNS 服务器无响应」。如果你在 1.15.0 中开启了「服务器上的 DNS」,在你选择 DoH 或 DoT 之前它仍保持不加密。
- 机器人:服务器 › 状态 会显示 DNS 加密模式,并在 DNS 服务器无响应时给出提示。
- 描述更准确。 提示和 README 中曾说使用 AmneziaDNS 时本地运营商可以篡改答案。AmneziaDNS 会加密查询,运营商只能屏蔽连接;真正的陷阱在于答案是从入口国家获取的。
更新
在面板中 系统 → 更新(从 1.4.0 起),或在服务器上运行:
awg-router update
全新安装(Ubuntu 或 Debian,以 root 运行):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash
فارسی
تغییرها
- رمزگذاری DNS روی سرور. «DNS روی سرور» اکنون پرسشها به سرورهای فیلد «DNS» را رمزگذاری میکند: بهطور پیشفرض DoH (DNS روی HTTPS، درگاه 443)، یا DoT (درگاه 853)، یا بدون رمزگذاری — تنظیم تازهٔ رمزگذاری پرسشهای DNS زیر آن. نه ارائهدهندهٔ این سرور و نه ارائهدهندهٔ خروجی نمیبینند کلاینتها کدام سایتها را باز میکنند و نمیتوانند پاسخها را جعل کنند: گواهی سرور بررسی میشود. پرسشها همچنان از خروجی خود هر کلاینت میروند، پس CDNها گرههای کشور درست را میدهند. برای کلاینتهایی که مسیر اصلیشان «مستقیم» است، پرسشها مانند AmneziaDNS مستقیم از همین سرور میروند: برای آنها درست همین است، چون ترافیکشان هم از همینجا میرود، و رمزگذاری نمیگذارد ارائهدهنده پاسخها را بخواند یا جعل کند. سرورهایی بگذارید که رمزگذاری را پشتیبانی میکنند، مثلاً 1.1.1.1 و 8.8.8.8 (1.0.0.1، 8.8.4.4، 9.9.9.9 و 149.112.112.112 هم مناسباند). اگر کانال رمزگذاریشده در دسترس نباشد، DNS بدون رمز استفاده نمیشود: کلاینتها DNS دوم پیکربندی را میپرسند و پنل و ربات «سرورهای DNS پاسخ نمیدهند» را نشان میدهند. اگر «DNS روی سرور» را در 1.15.0 روشن کردهاید، تا وقتی DoH یا DoT را انتخاب نکنید بدون رمزگذاری میماند.
- ربات: سرور › وضعیت حالت رمزگذاری DNS را نشان میدهد و اگر سرورهای DNS پاسخ ندهند هشدار میدهد.
- توضیح دقیقتر. در راهنما و README آمده بود که با AmneziaDNS ارائهدهندهٔ محلی میتواند پاسخها را جعل کند. AmneziaDNS پرسشها را رمزگذاری میکند، پس ارائهدهنده فقط میتواند اتصال را مسدود کند؛ دام واقعی این است که پاسخها از کشور ورودی گرفته میشوند.
بهروزرسانی
سیستم ← بهروزرسانی در پنل (از نسخهٔ 1.4.0)، یا روی سرور:
awg-router update
نصب تازه (اوبونتو یا دبیان، با کاربر root):
curl -fsSL https://raw.githubusercontent.com/r-slashslash/AWG-Router/main/install.sh | bash