You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow traffic towards private internal endpoints via WireGuard #593
VpnRoutes.EXCLUDED_RANGES hardcodes 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 as excluded from the tun. Setting AllowedIPs = 0.0.0.0/0 in WireGuard doesn't help — it only feeds wireguard-go's UAPI, never VpnService.Builder.addRoute(), which reads exclusively from VpnRoutes.getRoutes().
I run a split-DNS setup: my VPN's resolver hands back RFC1918 addresses for some hostnames (services I host at home, behind the WireGuard endpoint). Those hosts are only reachable through the tunnel, but they land in the excluded gap and get pushed out over the underlying network, where they're unreachable. Lookup succeeds (the DNS host gets re-injected as a /32), connection times out — confusing.
This isn't an edge case. Plenty of privacy-conscious users self-host things at home and want to reach them while TC is running. On Android you can't run a second VPN alongside TC, so there's no workaround.
I built the app from master with the three RFC1918 entries removed and it works flawlessly for me.
Trade-off: a host on the local LAN (the Wi-Fi router the phone is currently on) would also get pulled into the tunnel — arguably what the user asked for with AllowedIPs = 0.0.0.0/0, and VpnService.protect() still handles Wi-Fi calling.
Would this be acceptable, or would a toggle be preferable?
Activity
kasnder commentedon Jul 9, 2026
So you have private IPs behind the VPN? Interesting!
Obviously, the reason to implement it this way is to make things easy for the average user of the app..
nmarteybotchway commentedon Jul 12, 2026
Hi - I'd be interested in working on this
Merge pull request #645 from TrackerControl/claude/wg-private-routes-593
Make WireGuard AllowedIPs authoritative over RFC1918 route exclusions (…