Flexible rule-based routing framework for OpenWrt.
Route traffic based on IP, MAC, port, protocol, or domain through WAN, VPNs, or tunnels.
For the current stable release, see the 1.1.8 branch.
For ongoing development, see the 1.1.9 branch.
- Supports WAN, OpenVPN, WireGuard, and tunnel interfaces
- Create rules by IP, MAC, port, protocol, or domain
- Integrates with dnsmasq, unbound, and smartdns
- Optional LuCI interface for configuration and monitoring
- Resolver health checks and rule-based rollback
Full documentation:
https://docs.openwrt.melmac.ca/pbr/