This repository has been archived on 2024-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
wireguard-tools/src/wg-quick
Jason A. Donenfeld 3f7a31faea wg-quick: freebsd: allow loopback to work
FreeBSD adds a route for point-to-point destination addresses. We don't
really want to specify any destination address, but unfortunately we
have to. Before we tried to cheat by giving our own address as the
destination, but this had the unfortunate effect of preventing
loopback from working on our local ip address. We work around this with
yet another kludge: we set the destination address to 127.0.0.1. Since
127.0.0.1 is already assigned to an interface, this has the same effect
of not specifying a destination address, and therefore we accomplish the
intended behavior.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-24 03:28:54 +01:00
..
android.c global: update copyright 2019-01-07 19:26:10 -05:00
darwin.bash global: update copyright 2019-01-07 19:26:10 -05:00
freebsd.bash wg-quick: freebsd: allow loopback to work 2019-01-24 03:28:54 +01:00
linux.bash global: update copyright 2019-01-07 19:26:10 -05:00
openbsd.bash global: update copyright 2019-01-07 19:26:10 -05:00
wg wg-quick: add wg symlink 2018-05-14 19:23:17 +02:00