Defaultroutepiercing
Jason A. Donenfeld
Jason at zx2c4.com
Thu Jan 18 15:20:08 CET 2018
On Thu, Jan 18, 2018 at 3:11 PM, M. Dietrich <mdt at emdete.de> wrote:
> [#] resolvconf -a tun.wg0 -m 0 -x
>
> which seems to be wrong, the manpage resolvconf(8) states that the
> this parameter is
>
> interface[.protocol]
>
> why is "tun." prepended?
To hack around incompetence on the part of Debian. They order entries
based on the device prefix.
If you have something custom going on, use PostUp/PostDown or
PreUp/PreDown to call your custom script, instead of using DNS=.
> the command is issued before the routing is configured.
> shouldnt the DNS configuration be applied after routing
> changes?
I can reason about it in both directions. What's your intuition lead
you to the _after_ choice?
More information about the WireGuard
mailing list