https://github.com/stangri/pbr
https://github.com/stangri/pbr
luci mwan3 openvpn openwrt pbr routing traffic-policy vpn webui wireguard
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stangri/pbr
- Owner: stangri
- Created: 2024-06-12T20:07:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-14T20:10:56.000Z (8 days ago)
- Last Synced: 2026-01-15T00:24:14.307Z (8 days ago)
- Topics: luci, mwan3, openvpn, openwrt, pbr, routing, traffic-policy, vpn, webui, wireguard
- Homepage:
- Size: 603 KB
- Stars: 9
- Watchers: 1
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Policy-Based Routing (pbr)
[](https://openwrt.org)
[](https://docs.openwrt.melmac.ca/pbr/)
[](https://github.com/stangri/pbr/blob/master/LICENSE)
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](https://github.com/stangri/pbr/blob/1.1.8/README.md).
For ongoing development, see the [1.1.9 branch](https://github.com/stangri/pbr/blob/1.1.9/README.md).
## Highlights
- 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/](https://docs.openwrt.melmac.ca/pbr/)