wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Chris <wireguard@spam-free.eu>
To: wireguard@lists.zx2c4.com
Subject: Re: Android: more than one tunnel
Date: Thu, 15 Jul 2021 08:25:59 +0200	[thread overview]
Message-ID: <98318db6-2c3d-82a7-4eea-5e8a6b1e313e@spam-free.eu> (raw)
In-Reply-To: <d994accd-d1a9-4f9a-bbf9-d6b99036b177@www.fastmail.com>

Hi Eric,

thanks for you thoughts.
However, this is not the case. I have the same setup on many machines and 
different OSes.
Apart from that: you can still have many tunnels running with overlapping 
routeing ranges.
What will happen within the routeing tables for the routeing decision is a 
different question.

On Android switching on one tunnel just switches off the other.

I fear, Simon's reply is correct:
There’s only one active service per user or profile. Starting a new service, 
automatically stops an existing service.
So, unfortunately, that would be an unavoidable limitation of Android.


On 15/07/2021 00:09, Eric Light wrote:
> Hi Chris!
> I don't have any experience with the Android implementation specifically... 
> but most likely, your two tunnels have overlapping AllowedIPs ranges. When 
> this happens, bringing up the second interface will override the routing 
> created by the first interface.
> Most commonly, this happens when someone configures both interfaces with 
> AllowedIPs = To fix this problem, make sure there's no overlap of 
> AllowedIPs in your tunnel definitions.
> I hope this helps :)
> (my apologies if the problem is something Android-specific that I don't know 
> about)
> E
> --------------------------------------------
> Q: Why is this email five sentences or less?
> A: http://five.sentenc.es
> On Wed, 14 Jul 2021, at 17:49, Chris wrote:
>> I have two distinct tunnels defined on Android.
>> However, I can only toggle between the two. I cannot have both activated at the
>> same time.
>> I need both connections.
>> Am I missing anything?
>> Why not several tunnels with several wg servers???
>> Why is this being prevented?
>> BR
>> Chris

  parent reply	other threads:[~2021-07-15  6:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.0.1601114111.20018.wireguard@lists.zx2c4.com>
2020-09-26 10:40 ` lineageos 17.1after autostart on boot tunnel not functioning Chris
2020-10-01 14:42   ` Chris
2021-07-14  5:49   ` Android: more than one tunnel Chris
2021-07-14  9:06     ` Simon McNair
2021-07-14 22:09     ` Eric Light
2021-07-14 23:55       ` iiiiiiiiiiii
2021-07-15  6:25       ` Chris [this message]
2020-10-01 15:24 ` lineageos 17.1 no incoming Chris
2020-10-05 13:51 ` wg-quick up (on linux) fails in case of several default routes Chris
2020-10-06 12:20   ` Jason A. Donenfeld
2020-10-06 13:33     ` Chris
2020-10-06 13:47       ` Jason A. Donenfeld
2020-10-06 13:54         ` Chris
2020-10-06 13:58           ` Jason A. Donenfeld
2020-10-06 17:51             ` Chris

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:

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

  git send-email \
    --in-reply-to=98318db6-2c3d-82a7-4eea-5e8a6b1e313e@spam-free.eu \
    --to=wireguard@spam-free.eu \
    --cc=wireguard@lists.zx2c4.com \
    --subject='Re: Android: more than one tunnel' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).