Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Maciej Leśniewski" <leshniack@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: wireguard-apple: overriding on-demand status
Date: Fri, 24 Sep 2021 00:23:41 +0200	[thread overview]
Message-ID: <CAKF6ahaqcCYg5zrnM=uRzdmgLhui5CD-JhaiXvsMrOGkSbdF0g@mail.gmail.com> (raw)

Hello,

firstly, thank you for the amazing job and the on-demand feature.

Question: What if I'd like to override the exclusions and enable my
tunnel in on-demand mode just for a while (wireguard-apple
v1.0.14-25)? Do I have to edit the tunnel profile?

Explanation: I'd like to have an auto-(de)activation when network
changes, according to the rules, but still be able to override this
behavior. So the on-demand rules should be reapplied every time when
network changes, but after that I still should be able to turn on/off
the tunnel manually.

For me, the controls looks a bit over engineered right now. I think
that two switches would be better – the main switch should stay as it
was before, but should also allow to turn on/off the tunnel regardless
of the on-demand settings. And, additionally, a second switch (in the
details view) that allows to enable/disable the on-demand function.

Maybe it may cause some issues that I don't see, especially in a
multi-tunnel scenario. Anyway, please consider it.

Regards,
Maciej Leśniewski

             reply	other threads:[~2021-09-24  0:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 22:23 Maciej Leśniewski [this message]
2021-09-24  0:23 ` Jason A. Donenfeld

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='CAKF6ahaqcCYg5zrnM=uRzdmgLhui5CD-JhaiXvsMrOGkSbdF0g@mail.gmail.com' \
    --to=leshniack@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).