wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Jordan Glover <Golden_Miller83@protonmail.ch>
To: wireguard <wireguard@lists.zx2c4.com>
Subject: Wireguard doesn't work with Linux 4.18-rc1
Date: Sat, 23 Jun 2018 08:23:08 -0400	[thread overview]
Message-ID: <J4C97NjxCe5Yi6ATwPhttes2-igbViLr-ejjOWK58wH8F-E0jdzmifyxLEVi5wmkNql7JVDqdpJ1WU0ufUzNwBZeLHmqncbQz7-SJRDGu8E=@protonmail.ch> (raw)

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

             reply	other threads:[~2018-06-23 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-23 12:23 Jordan Glover [this message]
2018-06-23 13:35 ` Wireguard doesn't work with Linux 4.18-rc1 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

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='J4C97NjxCe5Yi6ATwPhttes2-igbViLr-ejjOWK58wH8F-E0jdzmifyxLEVi5wmkNql7JVDqdpJ1WU0ufUzNwBZeLHmqncbQz7-SJRDGu8E=@protonmail.ch' \
    --to=golden_miller83@protonmail.ch \
    --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).