[OpenWrt-Devel] [PATCH] wireguard: do not add host-dependencies if fwmark is set

Jo-Philipp Wich jo at mein.io
Tue Mar 26 10:31:57 EDT 2019


I too think that making host route installation dependent on the fwmark
option is not intuitive.

> So maybe we can add an explicit option 'nohostroute' instead of making
> it depend on 'fwmark'?

A "nohostroute" (I'd prefer "peerroute" with default "1") would make
sense imho. It should also be protocol agnostic because other tunnel
protocols (e.g. 6in4) could benefit from it as well.

I'd propose a generic "option peerroute 0" which inhibits the host route
side-effect of "proto_add_host_dependency".

The term "peerroute" was chosen because it falls in line with other
options in the same group ("peeraddr", "peerdns").

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190326/23dd7c12/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list