mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-06 01:06:59 +08:00
19 lines
734 B
Markdown
19 lines
734 B
Markdown
---
|
|
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](https://bird.network.cz/) while using a single WireGuard interface with multiple peer-to-peer links.
|
|
|
|
## Configuration
|
|
|
|
import ExampleConfig from '../../src/components/ExampleConfig';
|
|
|
|
<ExampleConfig section="rtsync" /> |