ban ip is not there anymore in menuconfig or what?
try using crowdsec instead. there's a opkg version but main site is
Banip needs to be re-worked for FW4. There will likely not be a working version on the current release cycle, but still works on the 21.02 release at least until end of life next April.
It is not yet updated to be compatible with the nft firewall.