[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: krijg Wireguard niet naar verwachting aan de gang met IPv6



On 19 September wilden Paul en Geert


>> On Sun, Sep 19, 2021 at 10:03:28AM +0200, Gijs Hillenius wrote:
>>>
>>> en ping4 en ping6 vallen nu beiden stil (!)
>>>
>>      ... resultaat van `ping4 -c 3` en `ping6 -c 3` ...
>>>
>>> Lijkt me dat ik op de goede weg ben.
>>>
>> Ja.
>> Doe ook ping testen binnen het VPN.
>> En dan gewoon het Virtual Private Network gebruiken.
>
> Precies, ping eens naar 10.93.15.1 en 2a01:4f8:200:546b:0:9e15:9e15:1 .

Er gaat geen pakket de deur uit!

ping 10.93.15.1
PING 10.93.15.1 (10.93.15.1) 56(84) bytes of data.
^C
--- 10.93.15.1 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1011ms

root@inauditus:~# ping4 10.93.15.1
PING 10.93.15.1 (10.93.15.1) 56(84) bytes of data.
^C
--- 10.93.15.1 ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8178ms

root@inauditus:~# ping6 2a01:4f8:200:546b:0:9e15:9e15:1
PING 2a01:4f8:200:546b:0:9e15:9e15:1(2a01:4f8:200:546b:0:9e15:9e15:1) 56 data bytes
^C
--- 2a01:4f8:200:546b:0:9e15:9e15:1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4075ms



onderstaande is met wg0 up op client en server


op de server

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.219.216.14   0.0.0.0         UG    0      0        0 eth0
10.93.15.0      0.0.0.0         255.255.255.0   U     0      0        0 wg0
10.219.216.14   0.0.0.0         255.255.255.255 UH    0      0        0 eth0

route -A inet6

Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
localhost/128                  [::]                       U    256 2     0 lo
2a01:4f8:200:546b::/64         [::]                       U    256 1     0 eth0
2a01:4f8:200:546b::/64         [::]                       U    256 1     0 wg0
fe80::/64                      [::]                       U    256 1     0 eth0
[::]/0                         2a01:4f8:200:546b::3       UGH  1024 3     0 eth0
localhost/128                  [::]                       Un   0   4     0 lo
2a01:4f8:200:546b::/128        [::]                       Un   0   3     0 eth0
2a01:4f8:200:546b::/128        [::]                       Un   0   3     0 wg0
hillenius.com/128              [::]                       Un   0   5     0 eth0
2a01:4f8:200:546b:0:9e15:9e15:1/128 [::]                       Un   0   2     0 wg0
fe80::/128                     [::]                       Un   0   3     0 eth0
fe80::5054:ff:fe49:7447/128    [::]                       Un   0   4     0 eth0
ff00::/8                       [::]                       U    256 3     0 eth0
ff00::/8                       [::]                       U    256 1     0 wg0
[::]/0                         [::]                       !n   -1  1     0 lo


op de client

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlp0s20f3
10.93.15.0      0.0.0.0         255.255.255.0   U     0      0        0 wg0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp0s20f3
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp0s20f3


route -A inet6
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
[::]/0                         [::]                       U    1024 9     0 wg0
localhost/128                  [::]                       U    256 2     0 lo
2a01:4f8:200:546b::/64         [::]                       U    256 4     0 wg0
2a02:a03f:6b2d:b400::/64       [::]                       U    600 1     0 wlp0s20f3
2a02:a03f:6b2d:b400::/56       _gateway                   UG   600 2     0 wlp0s20f3
fe80::/64                      [::]                       U    600 1     0 wlp0s20f3
[::]/0                         _gateway                   UG   600 9     0 wlp0s20f3
localhost/128                  [::]                       Un   0   11     0 lo
inauditus/128                  [::]                       Un   0   2     0 wg0
inauditus/128                  [::]                       Un   0   4     0 wlp0s20f3
inauditus/128                  [::]                       Un   0   3     0 wlp0s20f3
ff00::/8                       [::]                       U    256 10     0 wlp0s20f3
ff00::/8                       [::]                       U    256 1     0 wg0
[::]/0                         [::]                       !n   -1  1     0 lo


Reply to: