mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-05 16:57:01 +08:00
1004 B
1004 B
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
The following settings can be used in the main section of the configuration file or with-in the interfaces
section to customize settings of an individual interface.
import ApiSchema from '@theme/ApiSchema';