Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Andy Xheli <andyxheli@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: VPN Client don't not disconnect while server is offline
Date: Wed, 25 Jan 2023 10:13:36 -0600	[thread overview]
Message-ID: <CAPJ9KJ89+xZMs9uc2bVZWU=FpDoJSygJ3QCWr5qv5-x3=VOJdA@mail.gmail.com> (raw)

Hi All,

So I noticed that when I bring down the WireGuard server all the
clients still show as connected\active. I noticed it because I brought
the server down and I was not able to get out to the internet. I'm
doing a split tunnel. I only route my internal network via wireguard
and I have set it to use the dns server on my internal network. Looks
like it is still trying to use the DNS server via vpn client even if
the server is off. I think there should be a better way to handle the
connections if the server is offline. The client should not show
connected\active or try not to use dns via wiregaurd if the server is
offline.

What do you all think?

                 reply	other threads:[~2023-02-07  4:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAPJ9KJ89+xZMs9uc2bVZWU=FpDoJSygJ3QCWr5qv5-x3=VOJdA@mail.gmail.com' \
    --to=andyxheli@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).