Awwww yeah, full wireguard reach-ability between multiple peers, using OSPF to m...

@nuintari@bsd.cafe

Awwww yeah, full wireguard reach-ability between multiple peers, using OSPF to manage the routes. That was a colossal pain in the ass. Mostly because wireguard can be a colossal pain in the ass.

If I have enough spoons after I finish mounting my new mailbox in quikcrete, I'mma write this up, because the tutorials out there mostly suck.

But, the key parts to running OSPF over wireguard are:

-Getting your MTUs correct and matching.
-Turning off wireguard's default behavior of managing your routing tables for you with an obscure knob, "Table = off"
-Setting the OSPF interfaces to type: PTP (Point-to-point).
-Explicitly setting your OSPF peers by address.

I had something close working with a single wireguard interface with multiple peers configured using OSPF PTMP(Point-to-multipoint) interfaces, but the only way that works is to commit some horrible networking sins involving IP Redirects, which I consider not an option. So each peer gets its own interface on the "server" side.

FreeBSD centric blogpost pending, but I have meatspace chores to do today that must take priority.