From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: kedia.vikas@gmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id f6d3347b for ; Wed, 18 Apr 2018 19:16:34 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 3b7ecc3e for ; Wed, 18 Apr 2018 19:16:34 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id n65-v6so2622730oig.6 for ; Wed, 18 Apr 2018 12:16:34 -0700 (PDT) MIME-Version: 1.0 From: Vikas Date: Wed, 18 Apr 2018 12:16:32 -0700 Message-ID: Subject: On redhat 7.4 wireguard not working To: wireguard@lists.zx2c4.com Content-Type: multipart/alternative; boundary="00000000000003c7f0056a244ba9" List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --00000000000003c7f0056a244ba9 Content-Type: text/plain; charset="UTF-8" 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 --00000000000003c7f0056a244ba9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

The error i get is:


Error: argument "suppress_prefixlength&qu= ot; is wrong: Failed to parse rule type


Here is the detailed output:


ro= ot@freepbx ~# wg-quick up<= span class=3D"gmail-s1" style=3D"font-variant-ligatures:no-common-ligatures= "> wg0

[#] ip link add wg0 type wireguard

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

[#] ip address add 10.1.9.4/16 dev wg0<= /span>

[#] 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 tab= le 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 pars= e rule type

[#] ip -4 rule delete table 51820

[#] ip link delete dev wg0



--
VK
--00000000000003c7f0056a244ba9--