summaryrefslogtreecommitdiffstats
path: root/net/pbr/README.md
blob: 3a65c6b2257cbd7b6d0451f182ac399e126be40c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Policy-Based Routing (pbr)

[![OpenWrt](https://img.shields.io/badge/OpenWrt-Compatible-blueviolet)](https://openwrt.org)
[![Web UI](https://img.shields.io/badge/Web_UI-Available-blue)](https://docs.openwrt.melmac.ca/pbr/)
[![License](https://img.shields.io/badge/License-GPL--3.0-lightgrey)](https://github.com/stangri/pbr/blob/master/LICENSE)

Flexible policy-based routing (PBR) framework for OpenWrt.  
Allows routing specific traffic (by IP, MAC, port, protocol, or domain) through a specific WAN, VPN, or tunnel.

## Features

- Route by IP, MAC, port, or domain name
- Works with WAN, VPNs (WireGuard, OpenVPN), or tunnels
- Lightweight shell-based implementation
- Optional Web UI integration via LuCI

**Full documentation:**  
[https://docs.openwrt.melmac.ca/pbr/](https://docs.openwrt.melmac.ca/pbr/)