<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div style="font-family:Arial;">FWIW, tried this on Debian Stretch, no errors:<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">0:      from all lookup local<br></div>
<div style="font-family:Arial;">32763:  from all lookup main suppress_prefixlength 0<br></div>
<div style="font-family:Arial;">32764:  from all lookup main suppress_prefixlength 0<br></div>
<div style="font-family:Arial;">32765:  not from all fwmark 0xca6c lookup 51820<br></div>
<div style="font-family:Arial;">32766:  from all lookup main<br></div>
<div style="font-family:Arial;">32767:  from all lookup default<br></div>
<div style="font-family:Arial;"><br></div>
<div><br></div>
<div>On Wed, Apr 18, 2018, at 3:16 PM, Vikas wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div style="font-family:Arial;"><span></span><br></div>
<p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">The error i get is:</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;"></span></span></span></span></span><br></p><p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; margin: 0px; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;"></span></span></span></span></span><br></p><p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; margin: 0px; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">Error: argument "suppress_prefixlength" is wrong: Failed to parse rule type</span></span></span></span></span><br></p><div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">Here is the detailed output:<br></div>
<p><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;"></span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">root@freepbx </span><span style="color:rgb(195, 55, 32)" class="colour">~</span><span style="font-variant-ligatures:no-common-ligatures;"># </span><span style="color:rgb(213, 59, 211)" class="colour">wg-quick</span><span style="font-variant-ligatures:no-common-ligatures;"> </span><span style="color:rgb(51, 187, 200)" class="colour">up</span><span style="font-variant-ligatures:no-common-ligatures;"> </span><span style="color:rgb(51, 187, 200)" class="colour">wg0</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip link add wg0 type wireguard</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] wg setconf wg0 /dev/fd/63</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip address add <a href="http://10.1.9.4/16">10.1.9.4/16</a> dev wg0</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip link set mtu 1420 dev wg0</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip link set wg0 up</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] wg set wg0 fwmark 51820</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip -4 route add <a href="http://0.0.0.0/0">0.0.0.0/0</a> dev wg0 table 51820</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip -4 rule add not fwmark 51820 table 51820</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip -4 rule add table main suppress_prefixlength 0</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">Error: argument "suppress_prefixlength" is wrong: Failed to parse rule type</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip -4 rule delete table 51820</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="color:rgb(0, 0, 0)" class="colour"><span style="font-family:Menlo" class="font"><span style="font-size:16px" class="size"><span style="font-variant-ligatures:no-common-ligatures;">[#] ip link delete dev wg0</span></span></span></span></span><br></p><div style="font-family:Arial;"><br></div>
<div><div><div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">--<br></div>
<div style="font-family:Arial;">VK<br></div>
</div>
</div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>WireGuard mailing list<br></div>
<div><a href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a><br></div>
<div><a href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><br></div>
</blockquote><div style="font-family:Arial;"><br></div>
</body>
</html>