Multicast over a wireguard link?

Jason A. Donenfeld Jason at
Tue Dec 20 19:22:40 CET 2016

On Tue, Dec 20, 2016 at 7:19 PM, Toke Høiland-Jørgensen <toke at> wrote:
> Can wireguard handle routed traffic to an endpoint. I.e. if endpoint A
> has address and endpoint B has a route 'ip route add
> via dev wg0', would the traffic go where it's
> supposed to?

The `via` isn't relavent, since that only functions to determine which
device to send it out of. All the ordinary routing table will do is
direct it toward wg0. Once it hits wg0, then the allowed-ips entries
are consulted to see where to send it (the "cryptokey routing table").
See sections 2 and 3 of [1].


More information about the WireGuard mailing list