Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Jean Cardona <Jean.Cardona@limelogic.be>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Wireguard for windows: routes are added even if remote server not reachable
Date: Wed, 28 Apr 2021 15:24:21 +0000	[thread overview]
Message-ID: <eaf535ec1f0c48649e1a24878e0c18e1@limelogic.be> (raw)

Hello, 

When wireguard on windows cannot reach the server, it still sets up the routes defined in allowedIPs, with a very large priority because the windows wireguard virtual interface is configured as a 100GB interface.
This is an issue for us, because when one of our user is in the office, the VPN cannot connect but windows still tries to use it to reach some internal subnets and those subnets are thus unreachable.

Is there a way to remove the routes if the VPN cannot come up?

Best regards, 

-- 
Jean Cardona


             reply	other threads:[~2021-04-29  1:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 15:24 Jean Cardona [this message]
2021-04-30 13:45 ` 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=eaf535ec1f0c48649e1a24878e0c18e1@limelogic.be \
    --to=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).