HI,

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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to