icmp6 on wireguard iface responded by iface lo

Daniel tech at tootai.net
Wed Sep 15 08:13:34 UTC 2021


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


More information about the WireGuard mailing list