Development discussion of WireGuard
 help / color / mirror / Atom feed
* wireguard-apple: overriding on-demand status
@ 2021-09-23 22:23 Maciej Leśniewski
  2021-09-24  0:23 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Maciej Leśniewski @ 2021-09-23 22:23 UTC (permalink / raw)
  To: wireguard

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wireguard-apple: overriding on-demand status
  2021-09-23 22:23 wireguard-apple: overriding on-demand status Maciej Leśniewski
@ 2021-09-24  0:23 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2021-09-24  0:23 UTC (permalink / raw)
  To: Maciej Leśniewski; +Cc: WireGuard mailing list

On Thu, Sep 23, 2021 at 6:22 PM Maciej Leśniewski <leshniack@gmail.com> wrote:
> 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?

Yes. That's how these APIs work.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-24  0:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 22:23 wireguard-apple: overriding on-demand status Maciej Leśniewski
2021-09-24  0:23 ` Jason A. Donenfeld

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git