Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Jean.Cardona@limelogic.be
Cc: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Re: Wireguard for windows: routes are added even if remote server not reachable
Date: Fri, 30 Apr 2021 15:45:00 +0200	[thread overview]
Message-ID: <CAHmME9riCYnd-bUe1-+HWuEcUqPQHOKfQen_ONrbO-uUsV_20Q@mail.gmail.com> (raw)
In-Reply-To: <eaf535ec1f0c48649e1a24878e0c18e1@limelogic.be>

You can adjust the route metric using `PostUp`, if you need:
https://git.zx2c4.com/wireguard-windows/about/docs/adminregistry.md

But having WireGuard automatically _shutoff_ due to unreachability
sounds like something with DoS security implications, so we're
unlikely to add that to the client. However you might be able to
trigger various rules to enable or disable WireGuard using other OS
facilities. https://git.zx2c4.com/wireguard-windows/about/docs/enterprise.md
may help.

Jason

      reply	other threads:[~2021-04-30 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 15:24 Jean Cardona
2021-04-30 13:45 ` Jason A. Donenfeld [this message]

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=CAHmME9riCYnd-bUe1-+HWuEcUqPQHOKfQen_ONrbO-uUsV_20Q@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=Jean.Cardona@limelogic.be \
    --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).