On redhat 7.4 wireguard not working

logcabin at fastmail.net logcabin at fastmail.net
Wed Apr 18 21:30:01 CEST 2018


FWIW, tried this on Debian Stretch, no errors:

0:      from all lookup local
32763:  from all lookup main suppress_prefixlength 0
32764:  from all lookup main suppress_prefixlength 0
32765:  not from all fwmark 0xca6c lookup 51820
32766:  from all lookup main
32767:  from all lookup default


On Wed, Apr 18, 2018, at 3:16 PM, Vikas wrote:
> 
> The error i get is:


> 


> 


> Error: argument "suppress_prefixlength" is wrong: Failed to parse
> rule type> 
> Here is the detailed output:
> 


> 


> root at 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
> _________________________________________________
> WireGuard mailing list
> WireGuard at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20180418/27072411/attachment.html>


More information about the WireGuard mailing list