aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFrank Behrens <frank@harz.behrens.de>2021-03-19 17:06:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-22 12:08:49 -0600
commit0a5c6abdfaa1f4f09269a222c1720e2ff3b8aa02 (patch)
tree4b8a908e49f062a4fc9b8e1aced2ceec26361267 /README.md
parentwg_noise: ensure non-zero'd handshakes have a valid local index (diff)
downloadwireguard-freebsd-0a5c6abdfaa1f4f09269a222c1720e2ff3b8aa02.tar.xz
wireguard-freebsd-0a5c6abdfaa1f4f09269a222c1720e2ff3b8aa02.zip
if_wg: implement selection of FIB (routing table) for tunneled packets
The outgoing, encrypted packets can use a specified FIB and therefore utilize specific (default) routes. The implementation follows the existing convention for other tunnel interfaces and reuses some code from gre(4) implementation. The FIB for wg(4) interface is set by standard ifconfig(8) with parameter "tunnelfib", e.g. "ifconfig wg0 tunnelfib 1". Signed-off-by: Frank Behrens <frank@harz.behrens.de> [Jason: rewritten to avoid sosockopt and simplify] Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions