Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Nohk Two <>
Subject: Is it possible to disable wireguard on specific Wi-Fi ?
Date: Mon, 18 Apr 2022 10:12:21 +0800	[thread overview]
Message-ID: <> (raw)


I setup a wireguard server at home and has a public IP address. This 
server allows the clients to access my LAN (e.g. and 
configuring the DNS servers as my DNS servers in my LAN (e.g. and

My family members use their phones (iPhone and Android) to connect to my 
LAN via the Wireguard for iOS/Android App. And this worked perfectly 
while the phones are using the 4G/5G network.

But when the phones connect to the Wi-Fi of my home's router, the DHCP 
assigns the IP addresses as, it's my LAN, to the phones. 
In this situation, phones' owners should manually turn off their 
Wireguard connection to have the internet accessing. I guess there are 
something conflict because the vanilla IP network and the allowed IP 
network are the same.

So, I have this idea that if it is possible to configure the Wireguard 
app to turn off or disable automatically when the network is established 
on specific Wi-Fi SSIDs ?

Or do you have better ideas ?


             reply	other threads:[~2022-04-22  0:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-18  2:12 Nohk Two [this message]
2022-04-22  6:16 ` Björn Fries
2022-04-22  9:51   ` Björn Fries
2022-04-22 13:00     ` Nohk Two
2022-04-22 11:05   ` Nohk Two
2022-04-22 13:40     ` Björn Fries
2022-04-22 15:55       ` Nohk Two
2022-04-22 13:36 ` Jason Grant
2022-04-22 18:23 ` Kai Haberzettl
2022-04-23  2:01   ` Nohk Two
     [not found] <77422@imapsync>
2022-04-22  9:29 ` wireguard
2022-04-22 12:08   ` Nohk Two

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: Is it possible to disable wireguard on specific Wi-Fi ?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).