multiple addresses in config and wg-quick

Michael Brookes mgsb81 at
Tue Jun 25 18:55:58 CEST 2019


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.

More information about the WireGuard mailing list