[WireGuard] Troubleshooting with WireGuard

Quan Zhou quanzhou822 at gmail.com
Tue Jul 12 17:42:28 CEST 2016


I'm trying to connect to [2600:3c01:..:1487]:41414 from [2400:6180:...:1]

I have added the specific IPv6 /128 address to the AllowedIPs on one side,
and
on the other side I simply put ::0/0.

The address I've set was:

srv1 # ip addr add 10.240.51.2/24 dev wg0
srv2 # ip addr add 10.240.65.2/24 dev wg0

I will deal with routing later, with OSPF or simply a static route. Right
now the
problem is:

Jul 12 15:32:41 debian kernel: [1081190.595578] Invalid MAC of handshake,
dropping packet from [2400:...:aec:1]:41414/0%0

Having no idea about handshake, what should I do next.

On Tue, Jul 12, 2016 at 5:05 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:

> Hi Quan,
>
> WireGuard is a layer 3 tunnel device, so AllowedIPs should probably be
> a different IP than endpoint unless you've set up some policy based
> routing. Also, you'll need to configure the devices with ip-addr too
> -- what were your commands there?
>
> Regards,
> Jason
>



-- 
Regards,

Quan Zhou
+------------------------+
|pub [expires 2019-05-04]|
|2C0C 4D88 E631 4C73 4C44|
|CDE0 C0E 5470 1D2D 3F3EE|
+------------------------+
|pub [revoked 2016-04-16]|
|44D2 0307 1643 E80F 2E31|
|F081 FAFA 6643 7F9F D46F|
+------------------------+
|quanzhou822 at gmail.com   |
|https://keybase.io/qzhou|
+------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20160712/2efa02b8/attachment.html>


More information about the WireGuard mailing list