0.9.3 (2026-04-08)
🇷🇺 Release notes (RU)
Что решает этот релиз
- Исправляет неправильную ссылку на прокси при работе через AmneziaWG туннель: вместо IP сервера подставлялся IP точки выхода VPN.
- Добавляет параметр
public_ipв конфиг для явного указания адреса (IP или домена), который используется в сгенерированныхtg://ссылках.
Что изменено
- Конфиг:
[server].public_ip: новый параметр, позволяющий зафиксировать IP-адрес или доменное имя (напримерproxy.example.com) в стартовом баннере и connection-ссылках. Если не задан — поведение прежнее (авто-определение черезifconfig.me). - Баннер: при наличии
public_ipHTTP-запросы к внешним сервисам пропускаются — быстрее старт, нет зависимости от сети. setup_tunnel.sh: автоматически определяет реальный IPv4 хоста (curl -s4) до запуска прокси внутри network namespace и инжектитpublic_ipвconfig.toml. Ранееcurlмог вернуть IPv6 хоста или ничего.setup_tunnel.sh: исправлен краш (set -e) приcpконфига AmneziaWG, когда source и destination совпадают (повторный запуск скрипта).- Документация:
config.toml.exampleи README Configuration reference обновлены описанием нового параметра.
Важно
- Миграция
config.tomlне требуется: параметрpublic_ipопционален, старое поведение сохранено. - При первом перезапуске
setup_tunnel.shна существующем сервереpublic_ipпропишется автоматически. - Для стабильных ссылок рекомендуется использовать доменное имя:
public_ip = "proxy.example.com".
🇬🇧 Release notes (EN)
What this release addresses
- Fixes incorrect proxy link when running behind an AmneziaWG tunnel: the VPN exit IP was printed instead of the server's real address.
- Adds a
public_ipconfig parameter to explicitly set the address (IP or domain) used in generatedtg://links.
What changed
- Config:
[server].public_ip: new parameter to pin an IP address or domain name (e.g.proxy.example.com) in the startup banner and connection links. When unset, behavior is unchanged (auto-detect viaifconfig.me). - Banner: when
public_ipis set, external HTTP requests are skipped — faster startup, no network dependency. setup_tunnel.sh: now detects the real host IPv4 (curl -s4) before launching the proxy inside the network namespace and injectspublic_ipintoconfig.toml. Previouslycurlcould return the host's IPv6 or fail silently.setup_tunnel.sh: fixed crash (set -e) oncpwhen AmneziaWG source and destination config are the same file (re-running the script).- Docs:
config.toml.exampleand README Configuration reference updated with the new parameter.
Important
- No
config.tomlmigration required:public_ipis optional, existing behavior is preserved. - On first
setup_tunnel.shre-run,public_ipwill be auto-injected. - For stable links, use a domain name:
public_ip = "proxy.example.com".