Wireguard doesn't work with Linux 4.18-rc1

Jordan Glover Golden_Miller83 at protonmail.ch
Sat Jun 23 14:23:08 CEST 2018


Hi,

I can't make wireguard work with linux 4.18-rc1 and mainline from
06.22.2018.

sudo wg-quick up abc
[#] ip link add abc type wireguard
[#] wg setconf abc /dev/fd/xx
[#] ip address add xx.xx.xx.xxx/xx dev abc
[#] ip link set mtu 1420 dev abc
[#] ip link set abc up
[#] resolvconf -a abc -m 0 -x
[#] wg set abc fwmark xxxxx
[#] ip -4 route add 0.0.0.0/0 dev abc table xxxxx
[#] ip -4 rule add not fwmark xxxxx table xxxxx
[#] ip -4 rule add table main suppress_prefixlength 0
RTNETLINK answers: File exists
[#] resolvconf -d abc
[#] ip -4 rule delete table xxxxx
RTNETLINK answers: Address family not supported by protocol
Dump terminated
RTNETLINK answers: Address family not supported by protocol
Dump terminated
[#] ip link delete dev abc

It works with Linux 4.17 and earlier. I tested two latest wireguard
snapshots (0.0.20180620, 0.0.20180613).

I'm disabling ipv6 at boot with ipv6.disable=1

Jordan




More information about the WireGuard mailing list