var img = document.createElement('img'); img.src = "https://matomo.0l.de/piwik.php?idsite=5&rec=1&url=https://cunicu.li" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

Route Synchronization

The route synchronization feature keeps the kernel routing table in sync with WireGuard's AllowedIPs setting.

This synchronization is bi-directional:

  • Networks with are found in a Peers AllowedIP list will be installed as a kernel route.
  • Kernel routes with the peers link-local IP address as next-hop will be added to the Peers AllowedIPs list.

This rather simple feature allows user to pair cunicu with a software routing daemon like Bird2 while using a single WireGuard interface with multiple peer-to-peer links.

Configuration

Section "rtsync" of /etc/cunicu.yaml