Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Nohk Two <nohktwo@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Re: Is it possible to disable wireguard on specific Wi-Fi ?
Date: Fri, 22 Apr 2022 20:08:35 +0800	[thread overview]
Message-ID: <c6a413d7-266c-57d9-56bf-5b8f1c73346e@gmail.com> (raw)
In-Reply-To: <34a3aa4f-76b6-9fbe-93ec-01cee228b382@qupfer.de>

On 2022/4/22 17:29, wireguard@qupfer.de wrote:
> 
> On 18.04.22 04:12, Nohk Two wrote:
>>  I guess there are something conflict because the vanilla IP network 
>> and the allowed IP network are the same.
> 
> Thats right, but you can simply use other IPs for your WG clients 
> (192.168.187.0/24 or 172.16.0.0/24)
> 
Hello,

I'm not sure if I understand your idea correctly.

It's not easy to configure my router's DHCP server to assign specific IP 
addresses (192.168.187.0/24 or 172.16.0.0/24) to the specific phones 
which connect to my LAN.

Even I did it eventually, the phones can't access to my LAN when the 
wireguard is turned off because "192.168.187.0/24 or 172.16.0.0/24" 
can't reach to my LAN (i.e. 192.168.87.0/24).

By the way, the WG tunnel interface's IP address (e.g. 192.168.19.0/24) 
is already different from my LAN's (i.e. 192.168.87.0/24).

Regards :)

  reply	other threads:[~2022-04-22 12:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <77422@imapsync>
2022-04-22  9:29 ` wireguard
2022-04-22 12:08   ` Nohk Two [this message]
2022-04-18  2:12 Nohk Two
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

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=c6a413d7-266c-57d9-56bf-5b8f1c73346e@gmail.com \
    --to=nohktwo@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    --subject='Re: Is it possible to disable wireguard on specific Wi-Fi ?' \
    /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

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