All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikas <kedia.vikas@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: On redhat 7.4 wireguard not working
Date: Wed, 18 Apr 2018 12:16:32 -0700	[thread overview]
Message-ID: <CAPGejTdkr5ERbLPR=94do2_w6GddCK4fOP62ofZ=VYuvSNJ40w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

The error i get is:


Error: argument "suppress_prefixlength" is wrong: Failed to parse rule type

Here is the detailed output:


root@freepbx ~# wg-quick up wg0

[#] ip link add wg0 type wireguard

[#] wg setconf wg0 /dev/fd/63

[#] ip address add 10.1.9.4/16 dev wg0

[#] ip link set mtu 1420 dev wg0

[#] ip link set wg0 up

[#] wg set wg0 fwmark 51820

[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820

[#] ip -4 rule add not fwmark 51820 table 51820

[#] ip -4 rule add table main suppress_prefixlength 0

Error: argument "suppress_prefixlength" is wrong: Failed to parse rule type

[#] ip -4 rule delete table 51820

[#] ip link delete dev wg0


--
VK

[-- Attachment #2: Type: text/html, Size: 7426 bytes --]

             reply	other threads:[~2018-04-18 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 19:16 Vikas [this message]
2018-04-18 19:30 ` On redhat 7.4 wireguard not working logcabin
2018-04-18 21:10 ` Jason A. Donenfeld
2018-04-18 21:33   ` Vikas
2018-04-18 22:01     ` Vikas
2018-04-19 13:19       ` Lucian Cristian
2018-04-19 13:21         ` Lucian Cristian
2018-04-19 17:09           ` Germano Massullo

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='CAPGejTdkr5ERbLPR=94do2_w6GddCK4fOP62ofZ=VYuvSNJ40w@mail.gmail.com' \
    --to=kedia.vikas@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.