All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ivan Labáth" <labawi-wg@matrix-dream.net>
To: nicolas prochazka <prochazka.nicolas@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: ipv6 multicast peer ?
Date: Sat, 27 Feb 2021 17:36:52 +0000	[thread overview]
Message-ID: <20210227173652.GA27005@matrix-dream.net> (raw)
In-Reply-To: <CADdae-jn684uFbFPgkWY47TsmOAnTfzLq7dVGrBxv8Vv8Gcg-Q@mail.gmail.com>

Hello,

you can't, as wireguard does not currently implement multicast nor broadcast.

You can add unicast IPs and duplicate packets if you feel like it,
or add another layer or two, which is what most people posting here do.

Regards,
Ivan

On Fri, Feb 19, 2021 at 08:58:53AM +0100, nicolas prochazka wrote:
> Hello,
> On a "server side" I've for example these peers, and i want to send a
> ipv6 multicast group
> ff02::1
> How can I do that with peer / allowed-ips routing ?
> 
> Regards
> Nicolas
> 
> interface: wg0
>   public key: **************
>   private key: (hidden)
>   listening port: 6081
> 
> peer: ************
>   preshared key: (hidden)
>   endpoint: x.x.130.134:6081
>   allowed ips: fd00:0:222d:0:f64d:30ff:fe6e:222d/128
>   latest handshake: 52 seconds ago
>   transfer: 56.96 MiB received, 1.96 GiB sent
> 
> peer: **********
>   preshared key: (hidden)
>   endpoint: x.x.x.x:6081
>   allowed ips: fd00::8e2:97ff:fe2e:3/128,
> fd00:0:2836:0:1e69:7aff:fe01:2836/128,
> fd00:0:3340:0:a00:27ff:fe5a:3340/128
>   latest handshake: 1 minute, 54 seconds ago
>   transfer: 513.17 MiB received, 6.27 GiB sent
>   persistent keepalive: every 25 seconds
> 
> peer: *****
>   preshared key: (hidden)
>   endpoint: x.x.x.x:6081
>   allowed ips: fd00::/32, fd00::8e2:97ff:fe2e:0/112,
> fd00::8e2:97ff:fe2e:eeee/128
>   latest handshake: 1 minute, 59 seconds ago
>   transfer: 2.70 MiB received, 6.69 MiB sent
>   persistent keepalive: every 25 seconds
> 
> peer: **************
>   preshared key: (hidden)
>   endpoint: x.x.100.142:6081
>   allowed ips: fd00:0:ec58:0:b26e:bfff:fe1e:2d5a/128
>   latest handshake: 2 minutes, 5 seconds ago
>   transfer: 195.00 MiB received, 2.19 GiB sent

      reply	other threads:[~2021-02-27 17:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19  7:58 ipv6 multicast peer ? nicolas prochazka
2021-02-27 17:36 ` Ivan Labáth [this message]

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=20210227173652.GA27005@matrix-dream.net \
    --to=labawi-wg@matrix-dream.net \
    --cc=prochazka.nicolas@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.