wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Wireguard doesn't work with Linux 4.18-rc1
@ 2018-06-23 12:23 Jordan Glover
  2018-06-23 13:35 ` Bruno Wolff III
  0 siblings, 1 reply; 5+ messages in thread
From: Jordan Glover @ 2018-06-23 12:23 UTC (permalink / raw)
  To: wireguard

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=3D1

Jordan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-23 16:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-23 12:23 Wireguard doesn't work with Linux 4.18-rc1 Jordan Glover
2018-06-23 13:35 ` Bruno Wolff III
2018-06-23 13:50   ` Jordan Glover
2018-06-23 16:01     ` Jason A. Donenfeld
2018-06-23 16:52       ` Jordan Glover

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).