Skip to content

Fix VPN hotspot routing with private-network bypass enabled. - #864

Merged
wwqgtxx merged 1 commit into
MetaCubeX:mainfrom
Raspberry-Monster:main
Nov 18, 2026
Merged

wwqgtxx merged 1 commit into
MetaCubeX:mainfrom
Raspberry-Monster:main

Conversation

@Raspberry-Monster

Copy link
Copy Markdown

When Android Tethering looks for an upstream VPN interface, it performs a route lookup for 0.0.0.0.

However, when private-network bypass is enabled, the split route list does not contain a route matching 0.0.0.0. As a result, Tethering cannot identify the VPN interface as the hotspot upstream, preventing connected devices from accessing the Internet.

Fix this by adding 0.0.0.0/32 to bypass_private_route.

See:
appshubcc/Bettbox#574
appshubcc/Bettbox@8096083#diff-acb11e437bbff5030772f91becc0aed822a4e32b79678f9068b581a25c4974d5R102
Yizuka17/YumeBox-MaterialDesign#4

When Android Tethering looks for an upstream VPN interface, it performs a route lookup for 0.0.0.0.

However, when private-network bypass is enabled, the split route list does not contain a route matching 0.0.0.0. As a result, Tethering cannot identify the VPN interface as the hotspot upstream, preventing connected devices from accessing the Internet.

Fix this by adding 0.0.0.0/32 to bypass_private_route.
@wwqgtxx
wwqgtxx merged commit 6e63512 into MetaCubeX:main Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants