Skip to main content Multicast support in Wireguard : r/WireGuard
Go to WireGuard
•

Multicast support in Wireguard

Hello Friends,

I've been working on Wireguard for a while. On exploring more on the unicast and multicast support in Wireguard, I couldn't find a way to allow multicast traffic in Wireguard.

Can any suggest a better way to accomplish this experiment?Also, if Wireguard supports multicast, how to check practicallly whether the multicast traffic is pushing via Wireguard Interface.

Iam using, Wireguard version: 1.0.20200611-2 Wireguard tools version: 1.0.20210424-1 Kmod-wireguard: 5.4.89+1.0.20200611-2

Thanks in advance.

Apple Card is a no-fee credit card that gives you up to 3% unlimited Daily Cash back on all of your purchases. Apply now and use right away. Terms apply.
Thumbnail image: Apple Card is a no-fee credit card that gives you up to 3% unlimited Daily Cash back on all of your purchases. Apply now and use right away. Terms apply.
Sort by:
Best
Open comment sort options

Wireguard does not support multicast. You need to add GRE for that.

• • Edited

Technically, you can enable multicast on a wireguard interface, and it will send multicast traffic out on the interface just fine, but you can only send it to a single peer. This is only useful in some specific use cases, for example if you want to proxy mdns requests over a point to point wireguard link with avahi daemon with it's mdns reflector feature.
Command to enable it (replace wg0 with your wireguard interface name):
ip link set dev wg0 multicast on

Also, add the required multicast range/address to the allowedIPs of your peer you want to send those multicast packets to.