From 3b4a6ff4bbc59600bded91113744209824607682 Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Sat, 12 Sep 2026 11:35:05 +0300 Subject: [PATCH] Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:35:04 12.09.2026. --- html/AM-GlobalFunc.rsc | 4 +- html/amneziawg/configurator/conf3.0.html | 6891 ++++++++++++++++++++++ 2 files changed, 6893 insertions(+), 2 deletions(-) create mode 100644 html/amneziawg/configurator/conf3.0.html diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index fe82ef65b..ff67f4c57 100644 --- a/html/AM-GlobalFunc.rsc +++ b/html/AM-GlobalFunc.rsc @@ -17,9 +17,9 @@ :global GlobalFuncReady false; # Git commit id & info, expected configuration version -:global CommitId "main/16710/091dd08f"; +:global CommitId "main/16711/5657e75a"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:30:04 12.09.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:35:04 12.09.2026."; # The variables are received right here. :global GlobalConfVersion 140; diff --git a/html/amneziawg/configurator/conf3.0.html b/html/amneziawg/configurator/conf3.0.html new file mode 100644 index 000000000..f16233703 --- /dev/null +++ b/html/amneziawg/configurator/conf3.0.html @@ -0,0 +1,6891 @@ + + + + + + AWG Proxy 3.0 — Offline MikroTik Command Generator + + + +
+ + + +
+
+
+

AWG Proxy 3.0 — MikroTik Offline Command Generator

+

Paste an AmneziaWG .conf (1.0 through 3.0) to generate ready-to-use MikroTik RouterOS commands

+
+ +
+
+ +
+
AmneziaWG Configuration File
+

All configuration and data is processed locally in your browser. Nothing is transmitted anywhere. Your private keys are safe.

+
+ +
+ + + + +
+
WireGuard client on MikroTik + awg-proxy runs inside a Docker container directly on the router
+
+ + +
+ VPS без ограничений по трафику +

+ Разместить сервер AmneziaWG можно у + Freakhosting, раздел Budget VPS. +

+

Рекомендуемый тариф: BVPS-2 — 2 vCPU, 2 ГБ RAM, 40 ГБ NVMe SSD.

+

Ключевое преимущество: порт 10 Гбит/с с безлимитным трафиком — идеально для VPN.

+

Цена: всего €25 в год (около 2500 руб.; на момент проверки, цена может меняться).

+
+
+ +
+ + + +
+
Routes traffic to selected services through the tunnel using DNS forwarding (DoH). ⓘ
+
+
FastTrack rules will be modified (out-interface-list=WAN) to keep FastTrack active for non-VPN traffic. Uninstall script restores them.
+ +
+ +
+ + + + + + +
+ +
All services will use this DNS-over-HTTPS (DoH) provider for domain resolution.
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+ +
+ +
Monitors tunnel availability by pinging 8.8.8.8 through the WG interface (via a pinned probe route). If the tunnel is down, disables its route — traffic falls back to the next tunnel (by distance) or goes direct. Re-enables the route when the tunnel recovers.
+
+
+ +
Only IPv4 goes into the tunnel. If the ISP hands the router native IPv6, every IPv6 flow leaves straight out of WAN and the routing policy never sees it: the site opens past the VPN, or hangs for about 10 seconds until the client falls back to IPv4. These rules reject such connections (TCP with a reset, so the fallback is instant). Anything that must keep speaking IPv6 directly goes into the ...-v6-direct address list.
+
+
+ +
Adds a scheduler that runs the <prefix>-update script at 04:30. The script compares the published release with the installed one and only calls /container/repull when the version actually changed — a pull restarts the container and the tunnel is down for about ten seconds. Needs RouterOS 7.22+ and an install from the registry; the script itself is always created, so you can update by hand with /system/script/run <prefix>-update.
+
+
+ +
Adds AWG_NO_DF=1 to the container ENV: the proxy clears the Don’t Fragment bit on its UDP packets. Some DPI equipment passes DF=0 UDP better than DF=1. Enable only if the tunnel has connectivity issues — with DF=0 large packets may be fragmented along the path.
+
+
+ +
The IPv6 header is 40 bytes instead of 20, so a full-size packet no longer fits a 1500-byte path and the WireGuard MTU has to come down. Ticked automatically when the endpoint is an IPv6 literal. For a DNS name the box stays off (IPv4 MTU) — tick it yourself if you know the name has an AAAA record; the generated script also asks the router with :resolve type=ipv6 and lowers the MTU if it answers.
+
+
+ + +
Sets /ip/dns address-list-extra-time. Services behind Cloudflare and other CDNs hand out very short TTLs, so an address can drop out of the list while the browser is still using it and the connection leaves the tunnel. This is a router-wide DNS setting, not a per-list one: it is only applied if the router still has the default 0s, and the uninstall script only resets it if it is still exactly the value set here.
+
+
+ +
Adds a step 0 to the output: a script that changes nothing and prints exactly which files to download and where to put them. Download them elsewhere, upload them to the router, then run the install. Nothing is fetched from GitHub — no registry pull, no release download, and the RU list stops waiting a minute for a name that will never resolve.
+
+
+ + +
Written to the container as AWG_DNS. The container image is scratch and has no resolver of its own, so a hostname endpoint cannot be resolved without this. It has to be reachable from the container without the tunnel — the router itself or a public resolver, not the DNS from the config, which usually lives inside the tunnel.
+
+
+ + +
The MTU of the link the outer UDP datagram has to cross: 1500 for plain Ethernet, 1492 for PPPoE, lower for PPPoE over VLAN.
+
+
+ + + +
+ +
+ + + +
Change the prefix only if you need 2+ tunnels with different routing rules
+
+ + +
+ +
+
+
+ +
+ +
+
Parsed parameters
+
+
+ +
+
+
MikroTik RouterOS Commands
+ +
+

+        
+    
+ + + + + +
+
+
Uninstall Commands
+ +
+

+        
+    
+ +
+
+
+
Side A (MikroTik 1) — client
+ +
+

+            
+
Uninstall Side A (client)
+

+            
+
+
+
+
Side B (MikroTik 2) — server
+ +
+

+            
+
Uninstall Side B (server)
+

+            
+
+
+ + + + +
+ + + + -- 2.52.0