[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114624":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":36,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":15,"starSnapshotCount":15,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},114624,"AWG-Router","r-slashslash\u002FAWG-Router","r-slashslash","AmneziaWG: веб-панель для каскада VPN-серверов с балансировкой | AmneziaWG cascade VPN panel with load balancing","",null,"Python",141,14,1,0,5,36,51,23,76.63,"MIT License",false,"main",[25,26,27,28,29,30,31,32,33,34,35],"amneziavpn","amneziawg3","awg","cascade","censorship-circumvention","routing","self-hosted","split-tunneling","vpn","web-panel","wireguard","2026-11-23 03:03:21","2026-11-23 13:22:39","\u003Cp align=\"center\">\n  \u003Cb>English\u003C\u002Fb> · \u003Ca href=\"README.ru.md\">Русский\u003C\u002Fa> · \u003Ca href=\"README.zh.md\">中文\u003C\u002Fa> · \u003Ca href=\"README.fa.md\">فارسی\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Freleases\u002Flatest\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fr-slashslash\u002FAWG-Router\" alt=\"Release\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Freleases\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fr-slashslash\u002FAWG-Router\u002Ftotal\" alt=\"Downloads\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fr-slashslash\u002FAWG-Router\" alt=\"License: MIT\">\u003C\u002Fa>\n  \u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Factions\u002Fworkflows\u002Frelease.yml?query=branch%3Amain+event%3Apush\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fr-slashslash\u002FAWG-Router\u002Frelease.yml?branch=main&event=push&label=CI&logo=github\" alt=\"CI: unit and network tests, image build\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Factions\u002Fworkflows\u002Fe2e.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Factions\u002Fworkflows\u002Fe2e.yml\u002Fbadge.svg\" alt=\"E2E\">\u003C\u002Fa>\n  \u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fattestations\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fprovenance-signed-brightgreen\" alt=\"Signed build provenance\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fpkgs\u002Fcontainer\u002Fawg-router\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocker-ghcr.io-2496ED?logo=docker&logoColor=white\" alt=\"Docker image on ghcr.io\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdependencies-stdlib%20only-brightgreen\" alt=\"Dependencies: Python standard library only\">\n\u003C\u002Fp>\n\n# AWG Router\n\nA web panel for **AmneziaWG**: users, tunnel settings, cascade routing and individual routing for each client in one place.\n\nIt works with the server that the AmneziaVPN app installs (the `amnezia-awg2` Docker container), or installs its own AmneziaWG server — in a Docker container or on the host. Protocol support goes up to **AmneziaWG 3.1**.\n\n**Quick start** — on an Ubuntu or Debian server, as root (Docker is installed if it's missing):\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fr-slashslash\u002FAWG-Router\u002Fmain\u002Finstall.sh | bash\n```\n\nThe installer sets up everything, including Docker Compose, and prints the panel link and password at the end. Details: [Install](#install).\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Finstall.gif\" alt=\"Installing with one command, then the panel: sign in, a new client with its QR code, exits and routing\" width=\"860\">\n\u003C\u002Fp>\n\n```\n                               ┌── RU \u002F CN \u002F IR ──────────► internet (this server's IP)\n clients ──AWG──► this server ─┤\n                               ├── everything else ──AWG──► server #2 ──► internet\n                               └── client \"Dad\" ─────AWG──► server #3 ──► internet\n```\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Foverview.png\" alt=\"Overview: exits and where traffic goes\" width=\"860\">\n\u003C\u002Fp>\n\n## Cascade VPN (double VPN): local traffic direct, the rest through a server abroad\n\nAWG Router makes your AmneziaWG server the entry point of a cascade. Clients connect to it only, and the server decides where each connection leaves for the internet:\n- traffic to the countries, networks or sites you choose goes out directly from the entry server, with its local IP and no detour;\n- everything else goes through a second AmneziaWG server (or a SOCKS5 proxy) in another country and reaches the internet from that server's IP;\n- there can be several exits: different lists to different servers, or a separate exit for a single client;\n- the split (split tunneling) lives on the server, so client configs stay ordinary — nothing to set up on phones or routers;\n- exits, lists and rules are set up in the panel instead of hand-written iptables and ipset scripts;\n- if an exit goes down, traffic doesn't slip past it: it goes direct, is blocked or moves to another exit, as you choose.\n\nA fallback helps only when it fails separately from the main exit. Two exits to the same server are one path, not two: if its address is blocked entirely, a SOCKS5 proxy over that address and a direct AmneziaWG tunnel to it stop working at the same moment.\n\nSo put an exit on a different server in the fallback — a different address, a different host, a different autonomous system. And where possible don't reach the final server directly from a country that blocks: if it is only reached from abroad, its address is not visible there.\n\nDetails are in [How routing works](#how-routing-works).\n\n## Features\n\n**Clients**\n- Add, rename, disable and delete clients.\n- Connect a device with a QR code, a `.conf` file or a `vpn:\u002F\u002F` link for the AmneziaVPN app.\n- Clients created in the AmneziaVPN app show up and can be managed too. The panel can't show their config, because the private key exists only on the device.\n- A disabled client stays in the config as a comment, so nobody else takes its address.\n- Traffic per client for the month and all time; it survives restarts. Sort by name, address, traffic or activity.\n- All-time traffic through the server next to the panel name (it stays when clients are deleted).\n- The panel's status line starts with what the panel is doing: **Running** (green); **Starting…**, **Restarting the AWG server…**, **Switching the engine…** or **Updating…** (yellow, an update started in the server console too); **Error** or **No connection to the panel** (red; hover for the reason, click to jump to the messages at the top), then the server's CPU and memory load (hover for the load average and how much memory is in use), then clients online.\n- If the AmneziaWG server's interface disappears while the container keeps running (for example, the kernel killed `amneziawg-go` when memory ran out), the panel restarts the server by itself and tells you in Telegram. **Server → Restart the AWG server** does it by hand.\n- An end date and a traffic limit (per month or in total). When they run out, the client turns off by itself; a monthly limit resets on the 1st at 00:00 UTC (the panel shows when that is in your time) and the client turns back on. Three days before the end date and at 90% of the limit you get a warning, and **Ending soon** in the client list shows who is close.\n- Speed limits (off until you set them): a cap for all clients together, a personal cap per client and a cap per exit, download and upload separately. Within the common cap the speed is split evenly between those downloading right now. Connections don't drop, the internet just gets slower, and latency stays low under load.\n- A personal link: the person opens it, downloads their config or scans the QR code, and sees their traffic and end date — no panel sign-in.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fclients.png\" alt=\"Clients: activity, traffic this month, limits and exits\" width=\"860\">\n\u003C\u002Fp>\n\n**Server**\n- Every AmneziaWG parameter: Jc\u002FJmin\u002FJmax, S1–S4, H1–H4, I1–I5, HeaderProtectionKey, ContentPaddingAddition, AWG 3 timings, RandomTrailers and DisableCookies.\n- Ready-made masking for the signature packets I1–I5: STUN (calls, WebRTC), QUIC (HTTP\u002F3), DNS query, SIP and a DNS response for icloud.com with Apple’s real address, with random parts so no two handshakes look alike. The packet AmneziaVPN puts in by default (the same everywhere, with icloud.com pointing to a Yandex address) is replaced with this one by the panel itself. I1–I5 are checked strictly (only tags every AmneziaWG understands, packet size shown) and can be set per client: if a client's provider starts blocking, give that one client another masking.\n- Fresh parameters on demand, generated the same way as the AmneziaVPN installer does for AWG 3.1.\n- Port, subnet, client DNS\u002FMTU\u002Fkeepalive, public address and the address in client configs (IPv4 or IPv6).\n- **Additional server addresses**: other IPs or domains of this server. Any of them can go into all configs or into one client's config (for example, when one address is blocked for that client); websites still see the server's main address or the exit's.\n- **DNS on the server** (optional): clients ask the server for DNS, and it asks the servers from the settings the same way the client's traffic goes, with a cache and encryption (DoH or DoT). See [DNS on the server](#dns-on-the-server).\n- Adding or removing a client is applied live without dropping anyone. Server-side parameters restart the interface, which takes a few seconds.\n\n**Routing**\n- Exits are client configs from other AmneziaWG servers or SOCKS5 proxies (`socks5:\u002F\u002Flogin:password@host:port`). Both TCP and UDP go through a SOCKS5 exit (UDP if the proxy supports UDP ASSOCIATE); HTTP\u002F3 (QUIC, UDP 443) only with “Let QUIC through the proxy” in the exit's window — without it browsers open sites over HTTPS right away. **Check** on the exit shows whether the proxy passes UDP. If an exit fails, its traffic goes direct, gets blocked or moves to another exit, whichever you choose.\n- Traffic per exit and direct for the month and all time, and each client's monthly traffic split by exit. An exit can have a monthly limit; when it is used up, its traffic until the 1st goes direct, gets blocked or moves to another exit, whichever you choose (or you only get a notification).\n- Rules map a list to an exit. Lists can be countries, autonomous systems (ASN), lists fetched from a URL, your own subnets or domains, and they refresh automatically. Rules and lists live on one **Routing** tab: each list shows where it is used, and a new list can be created right from a rule.\n- Domain rules for any exit (AmneziaWG, SOCKS5, Direct or Block): `example.com` on a list also covers all its subdomains; you can paste a link to a ready-made list (plain domains, dnsmasq, hosts, Adblock, v2ray). The server learns the site from its name at the start of an HTTPS, HTTP or HTTP\u002F3 connection (TCP 443 and 80, UDP 443). Through SOCKS5 it passes the name to the proxy, which finds the address itself, so DNS spoofing by the ISP doesn't matter; through AmneziaWG and Direct the connection goes to the address the device got from its DNS; DNS on the server resolves such names through the rule's exit, so the address isn't spoofed and is near the exit. Client DNS and configs don't change. Such rules are checked before address rules.\n- A rule in a policy reads like what it catches and where it goes: its lists on the left (`Domains work (20)`, an exit's own sites by their first domain `youtube.com +19`, `Russia, China +1`, `Office (12 networks)`), then the exit — right after them on a wide screen, at the right edge on a phone, where a rule whose exit doesn't fit next to its lists shows only the first one and `+N`; a rule's own name shows above it in small grey; a rule that is off stays in its place, grey and struck through.\n- The exit window asks for the type first (AmneziaWG or SOCKS5). For SOCKS5 there are separate fields for the address, port, login and password (they make up the connection string; a pasted string fills them in). For both types the routing for that exit is set in the same window: sites (domains) to send through it, domain and network lists, or all traffic. This is saved as ordinary global rules; rules you turned off, rule names and their order stay as they are.\n- Each client can have its own exit and its own rules.\n- **Load balancing** (optional) instead of the default exit: each client gets the least busy of the chosen exits, measured against the exit's speed limit when one is set. If one exit is overloaded while another sits idle, some clients are moved over within a few minutes without dropping their open connections; a failed exit's clients move at once. Rules and clients' own exits still apply.\n- **Route check** shows which way an IP or domain would go.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fexits.png\" alt=\"Exits: traffic per exit and direct, monthly limits, speed now and speed limits\" width=\"860\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Frouting.png\" alt=\"Routing: rules, load balancing across exits and lists\" width=\"860\">\n\u003C\u002Fp>\n\n**Panel**\n- HTTPS with a Let's Encrypt certificate for the server's IP or your domain, renewed by itself, or with your own certificate (for example, from certbot). If nginx or Apache already holds port 80, validation goes through it.\n- Alternatively, the panel can be reachable only through an SSH tunnel.\n- The address uses a random port and a secret path, and login is password-protected with brute-force protection. A sign-in lasts 4 hours.\n- Optional second factor: a 6-digit code from an authenticator app (Google Authenticator, Aegis, 2FAS…). Turned on in **System**.\n- Optional Telegram notifications: an exit stops or recovers or nears its limit, the AmneziaWG server is unreachable or restarted, server memory stays above 90% or CPU above 95%, a client nears or hits its end date or limit, a new client connects for the first time, panel sign-ins, a certificate that can't be renewed, a new panel version. Set up in **System**. Where Telegram is blocked (Russia, China, Iran), the bot can send through one of your exits; if that exit stops working, the message tries the other exits, then goes directly, and waits for a connection if nothing works.\n- Optional control from Telegram: the bot becomes a remote: `\u002Fstart` opens the menu in a single message — the panel logo with the host, panel version, clients, how many are online and all-time traffic under it — and everything happens in that message, with a ‹ Menu button to go back. **Server** holds the status (versions, IPv4 and IPv6, DNS on the server, uptime, RAM, traffic this month) and the exits (tap an exit to check it or make it the default); **Clients** starts with **New client**. Also: turning a client on or off or deleting it (after a confirmation), its QR code and config file, +30 days or +10 GB, a new client with `\u002Fadd`, checking an exit and changing the default one, where traffic to an address goes, a backup, a link to the panel and a panel update. Buttons also appear under notifications (for example, +30 days under “access period ended”). Only the chat with the numeric Chat ID set in the panel is obeyed (a `@name` can later be taken by someone else); a command from another chat is not run, and in a private chat the bot answers it with that chat's number.\n- The password can be changed right in the panel.\n- Backup and restore in one file: panel settings, exits, rules, client keys and the AmneziaWG server config — handy for moving to another server. The downloaded file can be encrypted with a password. The bot can also send a backup to Telegram every day or week, encrypted with a password if you set one.\n- The panel shows its version, tells you when an update is out and updates itself with one button (or `awg-router update` on the server). Only a released version is installed, and its archive is checked against its checksum.\n- Can be installed on a phone: **System → Install on a phone** shows a QR code and how to add the panel to the home screen, where it opens like an app.\n- Languages: English, Russian, Chinese and Persian. The language follows the browser or system setting, and a manual choice is remembered.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fclient-connect.png\" alt=\"Connecting a client with a QR code\" width=\"420\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fserver.png\" alt=\"Server settings\" width=\"420\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fmobile.png\" alt=\"The panel on a phone\" width=\"300\">\n\u003C\u002Fp>\n\n## Install\n\nYou need an **Ubuntu or Debian** server. Run this as root (if you log in as another user, run `sudo -i` first). If Docker is missing, the installer sets it up.\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fr-slashslash\u002FAWG-Router\u002Fmain\u002Finstall.sh | bash\n```\n\nThe installer downloads the panel into `\u002Fopt\u002Fawg-router` and asks a few questions:\n\n1. **What to manage.**\n   - If it finds an AmneziaVPN container, it offers to manage that container or a separate AmneziaWG server on the host.\n   - If there's no AmneziaWG on the server, it offers to install one, either in a Docker container like AmneziaVPN does (the app will see it too) or directly on the host as a systemd service. It suggests a random UDP port.\n2. **How to open the panel.** Choose a browser over HTTPS, or an SSH tunnel only.\n3. **Panel domain** (browser only). Press Enter to open the panel by IP; a domain must point to this server.\n\nIf port 80 is already taken by nginx or Apache, the installer shows the small file it can add there for the Let's Encrypt validation and asks before adding it (see [Port 80 is taken by a web server](#port-80-is-taken-by-a-web-server)).\n\nIt asks for the panel port (Enter — a random free 4-digit one); the rest is automatic: a password, the panel image, the certificate. The image is downloaded ready-made from GitHub's registry (ghcr.io), so the server doesn't have to reach Alpine and GitHub sources, which are filtered in some countries; if the download fails, the image is built on the server as before (`AWGR_BUILD=1` always builds it). At the end it prints the link and password:\n\n```\n  AWG Router is ready\n  Link:     https:\u002F\u002F203.0.113.5:4721\u002F3f9a1c2e7b6d\u002F\n  Password: Xk3vQ9mT2pLw8ZrA\n  Let's Encrypt certificate valid until 2026-11-04 08:15, renews automatically\n```\n\n> **Firewall:** open TCP port **80** (used for a few seconds while Let's Encrypt validates) and the panel port. If your hosting provider has its own firewall in its control panel, open the ports there as well.\n\n### The `awg-router` command\n\n| Command | What it does |\n|---|---|\n| `awg-router info` | show the link and password |\n| `awg-router update` | download the latest version and update (settings are kept) |\n| `awg-router password` | set a new random password |\n| `awg-router 2fa-off` | turn off the authenticator code (if you lost your phone) |\n| `awg-router restart` | restart the panel |\n| `awg-router logs` | show the panel log |\n| `awg-router reconfigure` | choose the mode and access method again; can also move the AmneziaWG server from its container to the host with the same keys, port and clients |\n| `awg-router install-kernel` | build and load the AmneziaWG kernel module (see [AmneziaWG engine](#amneziawg-engine)) |\n| `awg-router uninstall` | remove the panel and its routing rules; asks whether to keep the AmneziaWG server it installed (kept by default; its keys live in `\u002Fopt\u002Fawg-router\u002Fawg-server`, so don't delete the folder while it runs), then whether to remove the panel settings in `\u002Fopt\u002Fawg-router` too (kept by default, and a new install picks them up; not asked while the kept server's keys are there) |\n\n### Access through an SSH tunnel\n\nIn this mode the panel isn't reachable from the internet. On your computer or phone (Termux), run:\n\n```bash\nssh -N -L PORT:127.0.0.1:PORT root@SERVER_IP\n```\n\nKeep it running and open `http:\u002F\u002F127.0.0.1:PORT\u002Fsecret-path\u002F`. Run `awg-router info` to get the exact command and address.\n\n## Certificate\n\n- The panel gets a Let's Encrypt certificate with [lego](https:\u002F\u002Fgo-acme.github.io\u002Flego\u002F) for the server's IP or the panel domain, validating over port 80, and renews it without a restart. For an IP address Let's Encrypt issues only 6-day certificates (the `shortlived` profile), so the panel renews about every 3 days.\n- **System → Domain and certificate** sets the panel domain (empty — by IP) and chooses Let's Encrypt or your own certificate. For your own, give the paths on the server to the certificate (full chain) and the key, for example certbot's `\u002Fetc\u002Fletsencrypt\u002Flive\u002Fexample.com\u002Ffullchain.pem` and `privkey.pem`. The panel checks that the certificate is for the panel address and that the key matches; when certbot renews it, the panel picks up the new one within a few minutes.\n- With IPv6 in use (an IPv6 **Server public address**, or IPv6 picked in **Address in configs**), the certificate covers both the server's IPv4 and IPv6 addresses, so the panel opens without a warning at either. If Let's Encrypt can't validate the second address (for example, port 80 is closed over it), the certificate covers the main one and the panel tries the second again a day later. Through a web server on port 80 the certificate covers only the main address.\n- The domain is the panel's address. Client configs use the server address from the **Server** tab; the installer offers to put the panel domain there too.\n- If issuance fails, the panel runs with a temporary self-signed certificate, so the browser will show a warning. It retries every 30 minutes.\n- Status and a **Get a certificate now** button are on the **System** tab.\n\n### Port 80 is taken by a web server\n\nIf nginx or Apache already serves sites on this server, Let's Encrypt validates the panel through it. The installer and **System → Set up validation through the web server** show the file first and add it only when you agree:\n- nginx (also Angie and OpenResty) on the host or in Docker when its config folder is mounted from the host: `awg-router-acme.conf` next to your configs (`conf.d`, `sites-enabled`). Apache on the host: a site `awg-router-acme.conf`.\n- The file answers only `\u002F.well-known\u002Facme-challenge\u002F` and only for the panel address, from the folder `\u002Fvar\u002Flib\u002Fawg-router\u002Facme`. Your sites and other config files don't change.\n- Before the reload the config is tested (`nginx -t`, `apachectl configtest`), then the panel requests a test file through the web server. On any error the file is removed and the web server goes back to its previous settings.\n- Caddy, other web servers, and containers with the config inside the image: the panel shows the block to add by hand, then press **Check**.\n- **Remove from the web server** and `awg-router uninstall` delete the file.\n\n## Server modes\n\n### AmneziaVPN container\n\nThe panel writes the config in the app's own format:\n- a shared PSK;\n- `clientsTable` with client names;\n- I1–I5 kept as comments.\n\nClients added in the panel appear in the app, and vice versa.\n\nLimitations:\n- The container's port can only be changed in the AmneziaVPN app.\n- In a container created by the AmneziaVPN app the subnet can't be changed either: the app writes it into the container's start script.\n- If you change server-side parameters in the panel (S1–S4, H1–H4, header protection key), the app doesn't learn about it. New clients from the app won't connect until you re-check the server in the app, which reads the parameters back from the server.\n- After the server reboots, a container created by the AmneziaVPN app starts before the panel and without its rules: for a few seconds, until the panel starts, clients go direct, past the exits. The panel's own container and a server on the host put the panel's rules up before the VPN starts. If this matters, move the server to the host with `awg-router reconfigure` (the same keys, port and clients).\n\nIf the AWG Router installer created the container, its configs live on the host in `\u002Fopt\u002Fawg-router\u002Fawg-server\u002Fdata` and survive re-creating the container.\n\n### AmneziaWG on the host\n\nThe panel installs `awg`, `awg-quick`, `amneziawg-go` (AWG 3.1) and the `awg-quick@awg0` service.\n- The config is at `\u002Fetc\u002Famnezia\u002Famneziawg\u002Fawg0.conf`.\n- NAT and forwarding are set up in `PostUp`, so the VPN keeps working even when the panel is stopped. When you change the subnet, the panel moves NAT to the new one.\n\n## AmneziaWG engine\n\nAmneziaWG runs either as a Linux kernel module or as the `amneziawg-go` program.\n\n- **The kernel module** (recommended) encrypts inside the kernel and uses several times fewer system resources, with more speed. It shows most on a small VPS with many clients and in a cascade, where every packet is encrypted twice (on the server and in the tunnel to the exit). The module is built for your kernel (DKMS) and rebuilt by itself when the kernel is updated. Ubuntu 22.04+ or Debian 12+ (kernel 7.x included), x86_64 or aarch64, and a VPS that isn't OpenVZ\u002FLXC are needed.\n- **amneziawg-go** works on any server, OpenVZ\u002FLXC included, and comes with the panel, but encryption takes a noticeable share of system resources.\n\nHow to get the module:\n1. On a new install the installer asks which engine to use when the server fits; Enter picks the module. To answer in advance: `AWGR_ENGINE=kernel` or `AWGR_ENGINE=go`.\n2. On an installed panel: the **Install the module** button (in the notice at the top or in **Server → AmneziaWG engine**), or `sudo awg-router install-kernel` on the server. The module is built from the Amnezia PPA, checked to be 3.x (an older one is removed) and loaded at boot (`\u002Fetc\u002Fmodules-load.d\u002Famneziawg.conf`). Then the panel offers to restart the AWG server: it picks the module by itself (awg-quick prefers the kernel).\n3. Tunnels to exits follow the server: on the module too, with nothing to pick. To keep exits on one engine regardless of the server (for example, to read the amneziawg-go logs while looking into a problem), set `EXIT_ENGINE=go` or `EXIT_ENGINE=kernel` in `\u002Fopt\u002Fawg-router\u002F.env` and run `cd \u002Fopt\u002Fawg-router && docker compose up -d` (`awg-router restart` keeps the old `.env`).\n\nIf something is wrong with the module, the server stays reachable:\n- the module didn't build or load — the installer or the button says so, and the server runs on amneziawg-go;\n- after a kernel update the module no longer loads — the server comes up on amneziawg-go by itself, and the panel says so (in Telegram too) and offers to install the module again;\n- the server didn't come up on the module after two restarts — the panel switches the module off, moves the server to amneziawg-go and tells you; **Try again** brings the module back;\n- the module couldn't start a tunnel to an exit — exits run on amneziawg-go until the next server restart.\n\nInstalling the module also sets `kernel.panic = 10` unless you have your own value: after a crash in the kernel the server reboots by itself instead of hanging. **Server → AmneziaWG engine** shows what the server runs on and which module is loaded. The AmneziaVPN app may install a kernel module by itself; if it is older than 3.x while the server uses AWG 3.1 parameters, the panel warns (in Telegram too). To switch engines by hand, use **Engine** in the same block: amneziawg-go restarts the AWG server without the module (the module stays installed but is not loaded), the kernel module loads it again (or installs it first) and restarts the server; clients reconnect within seconds. To remove the module completely: `apt remove amneziawg-dkms && rm -f \u002Fetc\u002Fmodules-load.d\u002Famneziawg.conf`, then reboot the server.\n\n## DNS on the server\n\nTurned on in **Server → Client settings → DNS on the server**; off by default. It is similar to AmneziaDNS in the AmneziaVPN app, but built with the cascade in mind.\n\n**How it works.** The panel runs a small DNS server in the AWG server's network (`dnsproxy.py`, port 53 on the server's tunnel address, for example `10.8.1.1`). Clients get its address in the `DNS` line of their config, and the first server from the \"DNS\" field as the second one. The server does not resolve names itself: it forwards the query to the servers from the \"DNS\" field **through this client's main exit** (if the exit is down, through its fallback, like the traffic). Answers are cached for their TTL separately for each exit, so a repeated query does not cross the cascade.\n\n**Encryption.** Queries to the servers from the \"DNS\" field are encrypted — the **DNS query encryption** setting:\n- **DoH** (default) — DNS over HTTPS, port 443. It looks like ordinary HTTPS and is the hardest to block;\n- **DoT** — DNS over TLS, port 853;\n- **no encryption** — plain DNS.\n\nWith encryption, neither the entry server's ISP nor the exit's ISP can see which sites clients open or spoof the answer: the server's certificate is checked. TLS connections are kept open, so the handshake is not repeated for every query. The servers in the \"DNS\" field must support encryption: `1.1.1.1`, `1.0.0.1` (Cloudflare), `8.8.8.8`, `8.8.4.4` (Google), `9.9.9.9`, `149.112.112.112` (Quad9) do. If the encrypted channel is unavailable, plain DNS is not used instead: the client asks the second DNS from its config, and the panel shows \"DNS servers don't answer\".\n\n**The cascade catch.** A resolver on the entry server that asks the internet straight from there (this is how AmneziaDNS works) gets answers as seen from the entry country. CDNs judge where the client is by the resolver's address and return nodes near the entry server, while the traffic goes out through an exit in another country: sites and video load slowly, and services that check the region may refuse. AmneziaDNS encrypts its queries, so the ISP can't spoof the answers, but it can block the encrypted connection itself.\n\nHere a query takes the same way as the client's traffic, so clients that go out through another server get answers right for their country. For clients whose main route is \"direct\", queries leave straight from the entry server, as with AmneziaDNS. That's right for them: their traffic leaves from there too, and encryption protects the queries from the ISP.\n\n**Names from domain rules.** A name on a domain rule's list is resolved through that rule's exit (with its fallback, like the traffic), not through the client's main exit: the address comes from near the exit the connection will take, and the ISP can't spoof it. For a Direct rule the query leaves straight from the server; for a Block rule it takes the client's usual way. With **Domain rules only for addresses from this DNS's answers** ticked, only connections to the addresses this DNS gave for such names go to the domain handler; the rest of these clients' traffic stays in the kernel.\n\nLimits:\n- a client with a block gets a refusal;\n- a query for an IPv6 address (AAAA) gets \"no records\": the tunnel carries only IPv4, so apps go to IPv4 straight away;\n- rules by addresses (for example, \"local networks direct\") don't affect DNS: names of such sites are also resolved through the client's main exit, and a CDN may return a node abroad for them;\n- the server only forwards queries and does not validate DNSSEC itself — the servers from the \"DNS\" field do;\n- while the panel is stopped or updating, clients ask the second DNS from their config;\n- in host mode with an nftables-only firewall (for example, firewalld), allow incoming UDP and TCP port 53 on the clients' interface; with iptables or ufw the panel does it itself.\n\n**How to use it best.**\n1. Keep **DoH** encryption and servers that support it in the \"DNS\" field, for example `1.1.1.1, 8.8.8.8`. Your local ISP's servers don't fit: queries to them go through the exit anyway, and they usually can't do encryption.\n2. Turn it on if most clients' main route is through an exit.\n3. After turning it on or off, give clients new configs (QR codes or files): old ones keep asking the previous DNS.\n4. A separate AmneziaDNS is not needed then; if it is installed, the panel leaves it alone.\n\n## How routing works\n\nThe panel runs in its own container (`network_mode: host`, `pid: host`, `privileged`) and enters the AWG server's network namespace with `nsenter`.\n- Each exit gets a tunnel `awgrN` with its own routing table. For a SOCKS5 exit it is a [hev-socks5-tunnel](https:\u002F\u002Fgithub.com\u002Fheiher\u002Fhev-socks5-tunnel) interface: whatever enters it goes through the proxy.\n- Domain rules: TCP 80\u002F443 of clients that have them is redirected to a handler in the server's network (`sniproxy.py`). It reads the site name (SNI or Host); on a match the connection goes through the SOCKS5 proxy by name, or, for an AmneziaWG exit and Direct, to the original address with that exit's mark; otherwise to the original address with the client's policy mark, and the usual address rules pick the path (an nftables `type route` chain in the output hook). Data is relayed inside the kernel (`splice`), not copied through Python. HTTP\u002F3 (QUIC, UDP 443): the first packets of a new connection of such clients go to a kernel queue (NFQUEUE); the handler reads the name from the QUIC Initial packets (v1 and v2, a ClientHello split across packets is put back together) and marks the packet with the exit's mark (an AmneziaWG exit, Direct), or rejects it for Block and for SOCKS5 without “Let QUIC through the proxy” (the browser then takes HTTPS, where the proxy gets the name); with that box ticked QUIC goes through the proxy over UDP ASSOCIATE; sites not on the lists go by the usual rules; the decision is kept in conntrack for the rest of the connection. A ClientHello that doesn't come together in 100 ms is rejected. With DNS on the server turned on, names from domain rules are resolved through the rule's exit; an optional setting intercepts only the addresses this DNS returned for those names (an nftables set with timeouts), so the rest of the traffic goes through the kernel. The panel looks at the handler every second and restarts it if it exits or hangs; while it is down, the panel removes the redirect and only address rules apply — or, with **Routing → If domain rules don't work, block all traffic of their clients**, those clients are blocked until it works again.\n- Client packets are marked by nftables rules in the `ip awgr` table.\n- The tunnel address on the exit server is applied with SNAT, so it never clashes with your clients.\n- If a tunnel disappears, an `unreachable` route stays in its table, so traffic never leaks around the exit.\n- A newly started exit (panel start or update, AWG server restart, an edited exit) gets up to 30 seconds to answer, and until then its clients are blocked rather than sent to the fallback; usually it answers within a second. With the fallback \"Direct\" its clients used to go direct for about 10 seconds after every panel start.\n- Load balancing pins each client to one exit, and each connection remembers its exit in conntrack (`ct mark`), so moving a client sends only its new connections through the new exit. Speed limits are `tc` HTB queues: on the clients' interface (`awg0`) for clients and on `awgrN` for exits; incoming traffic is shaped through an `ifb` device.\n\nEverything that's applied is visible on the **System** tab under **What's applied right now**.\n\n## Security\n\nThe panel effectively has root access to the server.\n- The password is long and random, and the address includes a random port and a secret path.\n- After 8 wrong passwords, logins from that IP are blocked for 10 minutes. Behind your own reverse proxy (nginx and the like in front of the panel) every visitor comes from the proxy's address, so 8 wrong passwords from anyone block everyone, you included; open the panel directly or through an SSH tunnel instead.\n- The most locked-down option is access through an SSH tunnel only.\n- Private keys of exits and of clients created in the panel are stored in `\u002Fopt\u002Fawg-router\u002Fdata\u002Fstate.json`, with permissions 600.\n- Telegram control obeys a chat, not a person: if that chat is a group, every member can control the panel, and in a channel every subscriber can press the buttons under notifications. Use a private chat with the bot.\n- Clients can't reach the cloud's service address `169.254.169.254` (server data, on AWS also keys to the cloud account) or any other link-local address.\n- A backup holds the private keys of the server and of all clients. Set a password for downloaded backups and for backups sent to Telegram.\n- Starting with 1.19.1, the images and the archive are built by GitHub Actions and carry a signed build attestation, and the images also have an SBOM (list of components). You can check a download with `gh attestation verify oci:\u002F\u002Fghcr.io\u002Fr-slashslash\u002Fawg-router:\u003Cversion> -R r-slashslash\u002FAWG-Router` (images) or `gh attestation verify awg-router.tar.gz -R r-slashslash\u002FAWG-Router` (the archive).\n\n## Limitations\n\n- Inside the tunnel, IPv4 only. Clients connect to the server over IPv4 or IPv6, and the panel opens over both.\n- Domain rules see HTTPS, HTTP and HTTP\u002F3 (TCP 443 and 80, UDP 443) and can't see the site when the browser hides the name (Encrypted Client Hello); such connections follow the address rules. Without a packet queue in the kernel (`nfnetlink_queue`, missing on some OpenVZ\u002FLXC servers) HTTP\u002F3 is turned off for all sites for clients with domain rules, as before 1.21.0. In host mode with an nftables-only firewall (for example, firewalld), allow incoming TCP port 10443 on the clients' interface; with iptables or ufw the panel does it itself.\n- SOCKS5 exits need IPv6 support in the kernel (always there, except on servers booted with `ipv6.disable=1`).\n- Exits over IPv6 in the AmneziaVPN container mode need IPv6 in Docker: by default the container's network has none, and the panel says so instead of a bare “no connection”. Add `\"ipv6\": true, \"fixed-cidr-v6\": \"fd5a:3c71:9e20::\u002F64\", \"ip6tables\": true` to `\u002Fetc\u002Fdocker\u002Fdaemon.json` (keep what is already there; Docker older than 27 also needs `\"experimental\": true`) and run `systemctl restart docker` — this restarts every container. Or give the exit an IPv4 address or a domain with an A record. Without restarting Docker: move the AmneziaWG server to the host with `awg-router reconfigure` (the same keys, port and clients, so client configs keep working) — there the exits use the host's own network, IPv6 included.\n- Country lists are built from registry data. For a specific service, an ASN list is more accurate.\n- Upload limits for clients and download limits for exits need the kernel's `ifb` module. The installer adds it (`linux-modules-extra` on cloud kernels); if the kernel has no such package, the panel says so and the other limits still work.\n\n## Development\n\n```bash\npython3 -m unittest discover tests                                     # configs, nftables, parameters\nsudo PYTHONPATH=\u003Cpyroute2>:. python3 tests\u002Fnetns_e2e.py                 # routing in network namespaces\nsudo PATH=\u003Cawg,amneziawg-go>:$PATH PYTHONPATH=\u003Cpyroute2>:. python3 tests\u002Fawg_real_e2e.py\n                                                                        # a real AWG tunnel client ↔ server\nsudo PATH=\u003Chev-socks5-tunnel>:$PATH PYTHONPATH=\u003Cpyroute2>:. python3 tests\u002Fdomains_socks_e2e.py\n                                                                        # a SOCKS5 exit and domain rules\nDRY_RUN=1 PANEL_PASSWORD=demo DATA_DIR=.\u002Fdemo python3 -m app.main       # demo without a server\n```\n\nThe panel has no Python dependencies outside the standard library. The Docker image adds `amneziawg-go`, `amneziawg-tools`, `hev-socks5-tunnel` and `lego`.\n\n## Credits\n\n### People who helped\n\nThey found problems, traced them down to the line of code and suggested solutions; a lot of this panel exists because of them.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FNeborya\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FNeborya.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>Neborya\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>🐛 💡\u003Cbr>\u003Csub>Compose package on Debian 13 \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F1\">#1\u003C\u002Fa>, traffic per exit \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F2\">#2\u003C\u002Fa>, Telegram through an exit \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F3\">#3\u003C\u002Fa>, port 80 shared with a web server \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F4\">#4\u003C\u002Fa>, client names in configs \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F7\">#7\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fkoo-pub\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fkoo-pub.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>koo-pub\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>🐛 💻 🔍\u003Cbr>\u003Csub>QR codes that scan reliably in AmneziaWG on Android \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F5\">#5\u003C\u002Fa>, the panel domain in client configs \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F22\">#22\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fpull\u002F23\">#23\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FLCF30\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FLCF30.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>LCF30\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>🐛 💻 🔍\u003Cbr>\u003Csub>exits with a domain name in Endpoint \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F6\">#6\u003C\u002Fa>, ready images for Russia, China and Iran \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F8\">#8\u003C\u002Fa>, SOCKS5 exit health \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F9\">#9\u003C\u002Fa>, Telegram alerts that don't depend on the failing exit \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F10\">#10\u003C\u002Fa>, release download through the GitHub API when github.com fails \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fpull\u002F13\">#13\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Falexeyvolodin\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Falexeyvolodin.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>alexeyvolodin\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>💻 🔍\u003Cbr>\u003Csub>domain rules relayed inside the kernel \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fpull\u002F19\">#19\u003C\u002Fa>, busy port check in the installer \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fpull\u002F17\">#17\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fparis19891\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fparis19891.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>paris19891\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>🐛 💡 🔍\u003Cbr>\u003Csub>IPv6 exits and the panel address in the container mode \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F20\">#20\u003C\u002Fa>, the kernel module engine \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F24\">#24\u003C\u002Fa>, moving the server and uninstall \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F25\">#25\u003C\u002Fa>, the subnet field \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F26\">#26\u003C\u002Fa>, reinstalling over a host server \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F27\">#27\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fxiaomiiraqly-alt\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fxiaomiiraqly-alt.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>xiaomiiraqly-alt\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>🐛 🔍\u003Cbr>\u003Csub>Let's Encrypt validation through a web server on port 80 \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F21\">#21\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" valign=\"top\" width=\"33%\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FMacSergey\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FMacSergey.png?size=128\" width=\"72\" alt=\"\">\u003Cbr>\u003Cb>MacSergey\u003C\u002Fb>\u003C\u002Fa>\u003Cbr>💡\u003Cbr>\u003Csub>several server addresses in client configs \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fr-slashslash\u002FAWG-Router\u002Fissues\u002F37\">#37\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n🐛 found and explained problems · 💡 ideas · 💻 code · 🔍 testing on real servers\n\n### Projects\n\n- [AmneziaWG](https:\u002F\u002Fgithub.com\u002Famnezia-vpn) — the protocol, `amneziawg-go` and `amneziawg-tools`\n- [lego](https:\u002F\u002Fgithub.com\u002Fgo-acme\u002Flego) — Let's Encrypt client\n- [hev-socks5-tunnel](https:\u002F\u002Fgithub.com\u002Fheiher\u002Fhev-socks5-tunnel) — SOCKS5 exits (MIT)\n- [ipverse](https:\u002F\u002Fgithub.com\u002Fipverse) — country and ASN IP lists\n- [QR Code Generator](https:\u002F\u002Fgithub.com\u002Fkazuhikoarase\u002Fqrcode-generator) by Kazuhiko Arase (MIT)\n- Fonts [Golos Text](https:\u002F\u002Fgithub.com\u002Fgooglefonts\u002Fgolos-text), [JetBrains Mono](https:\u002F\u002Fgithub.com\u002FJetBrains\u002FJetBrainsMono), [Vazirmatn](https:\u002F\u002Fgithub.com\u002Frastikerdar\u002Fvazirmatn) (SIL Open Font License 1.1)\n\n## License\n\n[MIT](LICENSE)\n","AWG-Router 是一个用于 AmneziaWG 的自托管 Web 管理面板，专为多级 VPN 级联（cascade）与精细化流量路由设计。核心功能包括：统一管理客户端配置、支持按国家\u002F域名\u002F应用的分流规则（split-tunneling）、为每个客户端独立指定出口服务器（exit）、并兼容 AmneziaWG 3.1 协议。项目仅依赖 Python 标准库，提供一键安装脚本和 Docker 部署支持，所有逻辑在服务端完成，无需修改客户端。适用于需绕过网络审查、实现地理策略路由或构建私有级联 VPN 网络的技术用户及中小团队。",2,"2026-11-24 04:49:14","CREATED_QUERY"]