WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: Michael Brookes <mgsb81@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: multiple addresses in config and wg-quick
Date: Tue, 25 Jun 2019 17:55:58 +0100
Message-ID: <CABfcST8_qGByfP1859xknPiiz0iT5krk6d53DoWT_LmqqwcpsQ@mail.gmail.com> (raw)


I've got a fundamental misunderstanding of a config with multiple
Addresses specified in the Interface section, or probably just
wireguard in general, or perhaps networking completely, for example my

PrivateKey = <key>
Address =
Address =

PublicKey = FgVLScjX29jwnXXbHStFpNKcFqbaiNK6LuSWFglrWCo=
AllowedIPs =,
Endpoint = endpoint1:51820
PersistentKeepalive = 10

PublicKey = itXrReVj+wuecrSs+VNnEEkpc7wHb8QhXQtMQUBrOj8=
AllowedIPs =,
Endpoint = endpoint2:51820
PersistentKeepalive = 25

I do wg-quick up /path/to/wg0.conf and I have a wg0 interface with
both addresses assign, the only thing is when I try to ping an address
in the ranges the second peer lists, for example, the
ping is just using the first address listed in the conf, so a tcpdump
of wg0 shows something like: -> : ICMP echo request
 and of course no reply, endpoint2 is getting the ping but it's coming
from so no response.

Any help gratefully received.
WireGuard mailing list

                 reply index

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

Reply instructions:

You may reply publically 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 \
    --in-reply-to=CABfcST8_qGByfP1859xknPiiz0iT5krk6d53DoWT_LmqqwcpsQ@mail.gmail.com \
    --to=mgsb81@gmail.com \
    --cc=wireguard@lists.zx2c4.com \


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

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox