wireguard-tools: add tunlink option for hostroute
authorAaron Goodman <aaronjg@stanford.edu>
Thu, 27 Aug 2020 01:27:40 +0000 (21:27 -0400)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 30 Aug 2020 19:47:13 +0000 (21:47 +0200)
commit47b2ee2d9a9a1790f9bf8a528640c333af39e4ba
tree6e7a2beb8cb0a99712c776eca2320c226cce0238
parent05b8e84362b8455dec6db9b862826f21e8f24341
wireguard-tools: add tunlink option for hostroute

In a multi-wan setup, netifd may need guidance on which wan device to
use to create the route to the remote peer.

This commit adds a 'tunlink' option similar to other tunneling interfaces
such as 6in4, 6rd, gre, etc.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
package/network/utils/wireguard-tools/Makefile
package/network/utils/wireguard-tools/files/wireguard.sh