Files
packages/net/pbr
Stan Grishin 1a3f9de1f5 pbr: update to 1.2.2-20
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4

Description:
Update to version 1.2.2-20

  - Bump PKG_RELEASE to 20.
  - Add Erik Conijn as a co-maintainer.

files/etc/init.d/pbr:
  - Update packageCompat to 27.
  - Standardize gateway warning messages.
  - Add ubus_get_data helper for improved error/warning handling.
  - Preserve JSON namespace in json() for better error handling.
  - Refine device retrieval logic for OpenVPN interfaces.
  - Improve display of IPv4/IPv6 gateways for consistency.
  - Adjust service start trigger to only block on errors, not warnings.
  - Ensure 'error' field is populated in ubus status when no gateways
    are available.

files/etc/uci-defaults/90-pbr:
  - Remove sed rule for '/etc/pbr/' to '/usr/share/pbr/' path
    update.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 6148708cb1)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-07-19 13:55:10 +03:00
..
2026-07-19 13:55:10 +03:00
2026-07-01 21:28:58 -07:00
2026-07-19 13:55:10 +03:00
2026-02-05 13:07:18 -08:00
…

Policy-Based Routing (pbr)

OpenWrt Web UI 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/