Per-app WireGuard tunnel inside the Android app (working fork, looking for feedback) #31315
Closed
aswanthk777
started this conversation in
Feature Request
Replies: 2 comments 1 reply
|
This discussion has automatically been closed as it is likely a duplicate. We get a lot of duplicate threads each day, which is why we ask you in the template to confirm that you searched for duplicates before opening one. If you're sure this is not a duplicate, please leave a comment and we will reopen the thread if necessary. |
0 replies
|
Not a duplicate: there is no existing request for a per-app WireGuard tunnel inside the mobile app (searched open and closed discussions and issues). Body updated to match the template. Please reopen. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
#15230 recommends a VPN over the experimental network features. The downside of a device VPN is that it is always on, for every app on the phone.
I built a fork where the WireGuard tunnel lives inside the Immich Android app:
includeApplication): only Immich's traffic goes through it.Fork, documentation and a release APK: https://github.com/aswanthk777/immich-homelink (
HOME_LINK.mdcovers behaviour, setup and internals). Tested on a OnePlus running Android 16.Two things came out of it that affect stock Immich's "Only while charging" option and may deserve separate bug reports:
I am not opening a PR: this is a large, opinionated change that touches the VPN permission and adds a native library, and large changes need discussion first. Is this something you would consider for the official app in any form (feature flag, optional module), or is it better kept as a fork? Happy to write up either finding above as a proper issue.
Platform
All reactions