Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Aaron Jones <me@aaronmdjones.net>
To: wireguard@lists.zx2c4.com
Subject: Re: Enhance the "AllowedIPs"
Date: Mon, 15 Mar 2021 14:57:38 +0000	[thread overview]
Message-ID: <ec03842a-ab61-69dc-61f6-5c5a042679e2@aaronmdjones.net> (raw)
In-Reply-To: <E047ABCC-8C43-4608-A518-B48BF9976B58@lonnie.abelbeck.com>


[-- Attachment #1.1: Type: text/plain, Size: 530 bytes --]

On 15/03/2021 13:31, Lonnie Abelbeck wrote:
> For giggles, I though this might be a clever solution:
> --
> [Peer]
> PublicKey = <remote PublicKey>
> Endpoint = remote-vpn:51820
> AllowedIPs = 0.0.0.0/0, ::/0
> 
> [Peer]
> PublicKey = <local PublicKey>
> Endpoint = 127.0.0.1:51820
> AllowedIPs = 192.168.0.0/16
> --
> 
> I tested, but wg silently ignores peers to itself.
> Lonnie

Indeed; but nothing prevents you from terminating it with a different
local WireGuard interface with a different private key.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-03-15 14:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15  7:57 Feng Li
2021-03-15 13:31 ` Lonnie Abelbeck
2021-03-15 14:57   ` Aaron Jones [this message]
2021-03-16 11:33 ` Chris
2021-03-17  5:30   ` Feng Li

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=ec03842a-ab61-69dc-61f6-5c5a042679e2@aaronmdjones.net \
    --to=me@aaronmdjones.net \
    --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).