mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-05 16:57:01 +08:00
734 B
734 B
title
title |
---|
Route Synchronization |
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
import ExampleConfig from '../../src/components/ExampleConfig';