Repository navigation
Conversation
A new setting after SOCKS5 Hotspot. When the VPN connects, a Shizuku user service (shell uid) creates a test TUN network, makes Android tethering prefer it as the upstream, and turns on the Wi-Fi hotspot. Tethered client traffic lands in that TUN; a small Go helper (tether/, tun2socks) forwards it to an internal SOCKS5 server on 127.0.0.1, whose sockets go through the VPN. Nothing has to be configured on the client devices. Requires Android 13+ and a running Shizuku. Everything is torn down with the VPN session; each step is written to the app log with the Shizuku: prefix.
…ource for system services; shorter setting texts
…g; 'Requires Shizuku' in the setting
Раздача точки доступа через VPN с помощью Shizuku (без root)
…hit 64 connections The tether SOCKS5 now accepts up to 2048 concurrent clients; the user-facing SOCKS5 Hotspot keeps its limit of 64.
Раздача через Shizuku: интернет пропадал при более чем 64 соединениях
Owner
|
PR закрыт. Функция не будет реализована из-за отсутствия логической связки и невозможности работы "Shizuku" на мобильном интернете, а также из-за индивидуальных ограничений некоторых вендоров. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Раздача точки доступа через VPN с помощью Shizuku (без root)
Добавлена настройка «Раздача через Shizuku», она идёт сразу после SOCKS5 Hotspot. Когда она включена, при подключении VPN телефон сам включает точку доступа Wi-Fi. Весь трафик подключённых устройств идёт через VPN, и на самих устройствах ничего настраивать не нужно.
Как работает
Требования: Android 13+, установленное и запущенное приложение Shizuku.
Изменения
Проверено: Pixel 8 (Android 17), ноутбук через точку доступа выходит в интернет через VPN.