Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Daniel <tech@tootai.net>
To: wireguard@lists.zx2c4.com
Subject: Re: icmp6 on wireguard iface responded by iface lo
Date: Wed, 15 Sep 2021 10:13:34 +0200	[thread overview]
Message-ID: <db59a485-c736-9750-9b6b-773b43fa4325@tootai.net> (raw)
In-Reply-To: <3c3e142f-99b2-732b-2912-2889d6c09a69@tootai.net>

Hi

Le 14/09/2021 à 18:45, Daniel a écrit :
> Hi all,
>
> I use wireguard between 2 Debian11 and face a problem: traffic goes in 
> to wireguard interface/ip address but goes out with lo as interface 
> with the right ip address
>
> 19:23:50.287492 wig0 In IP6 fd99:1234:beef:cafe:fade::7000 > 
> fd99:1234:beef:cafe:fade::7fff: ICMP6, echo request, id 18272, seq 5, 
> length 64
>
> 19:23:50.287509 lo In IP6 fd99:1234:beef:cafe:fade::7fff > 
> fd99:1234:beef:cafe:fade::7000: ICMP6, echo reply, id 18272, seq 5, 
> length 64
>
> Any clue on this ?

Problem is in kernel vue of routing

ip route get fd99:1234:beef:cafe:fade::7000 from 
fd99:1234:beef:cafe:fade::7fff
anycast fd99:1234:beef:cafe:fade::7000 from 
fd99:1234:beef:cafe:fade::7fff dev lo table local proto kernel src 
fd99:1234:beef:cafe:fade::7fff metric 0 pref medium

After

ip route replace fd99:1234:beef:cafe:fade::7000 from 
fd99:1234:beef:cafe:fade::7fff dev wig0 table local

evrything is going back to normal behavior.

Thanks for your support

-- 
Daniel

      reply	other threads:[~2021-09-15  8:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 16:45 Daniel
2021-09-15  8:13 ` Daniel [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=db59a485-c736-9750-9b6b-773b43fa4325@tootai.net \
    --to=tech@tootai.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).