Policy-Based-Routing (pbr) package discussion

Pbr version 1.2.2-r6 is intended to be the next stable release.

It is tested to work on Master builds and on 25.12.

As always make a backup of your settings in case anything goes wrong

You can already get this version if you add Stangri's repository to your feeds:

wget https://apk.openwrt.melmac.ca/apk.openwrt.melmac.ca.pem -O /etc/apk/keys/apk.openwrt.melmac.ca.pem
echo 'https://apk.openwrt.melmac.ca/packages.adb' > /etc/apk/repositories.d/apk.openwrt.melmac.ca.list
apk update

and then upgrade the regular way via LuCi > System > Software > Update lists and upgrade PBR and LuCi-app-pbr to 1.2.2-r6

Alternatively a direct apk download and installation:

cd /tmp 
wget -O pbr.apk https://github.com/mossdef-org/pbr/releases/download/v1.2.2-6/pbr-1.2.2-6_openwrt-25.12_noarch.apk
wget -O luci-app-pbr.apk https://github.com/mossdef-org/luci-app-pbr/releases/download/v1.2.2-6/luci-app-pbr-1.2.2-6_openwrt-25.12_noarch.apk 
service pbr stop 
apk del luci-app-pbr pbr 		   # opkg remove luci-app-pbr pbr 
mv /etc/init.d/pbr /etc/init.d/pbr-old	>/dev/null 2>&1   # backup old pbr in case it is not deleted
apk add --allow-untrusted ./*.apk 	   # opkg install luci-app-pbr pbr 
service pbr start
2 Likes