Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Cory Coager <ccoager@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: wireguard-tools bug on Android with work profile
Date: Sun, 22 Sep 2024 17:33:24 +0000	[thread overview]
Message-ID: <CAM_og+oCeWFAXV4Gva5WnsPEMOG2X_SQpPx=_8H6t3QYaBp=Lw@mail.gmail.com> (raw)

If you have WireGuard installed in the work profile of Android, the
excluded/included apps are not routing properly.  Looking at the
source code, wg-quick is reading the apps and uids from
/data/system/packages.list which only has the correct uids for the
Owner profile.  As such, iptables has the wrong uidrange for the apps
list and the apps do not work with WireGuard in the work profile.

                 reply	other threads:[~2024-11-18 13:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM_og+oCeWFAXV4Gva5WnsPEMOG2X_SQpPx=_8H6t3QYaBp=Lw@mail.gmail.com' \
    --to=ccoager@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).