After upgrading from 19.07 to 22.03 Firewall Rule -m iprange --src-range 192.168.1.100-192.168.1.150 not working

option src '192.168.1.100/30'
option src '192.168.1.104/29'
option src '192.168.1.112/28'
option src '192.168.1.128/28'
option src '192.168.1.144/29'

Note: this also covers 192.168.1.151 - I didn't want to get too detailed (why, see next).

:warning: Next, I assume this was for the default OpenWrt DHCPv4 range - you configured it incorrectly anyways. It's actually 192.168.1.100-192.168.1.249 (100+150 == 250).

Nonetheless, you could make this easier if it were to reconfigure DHCP to issue IPs on a CIDR bit-barrier. E.g:

192.168.1.128/26 yeilds usable IPs: 192.168.1.129-192.168.1.190

# for LAN in /etc/config/dhcp

        option start '128'
        option limit '64'

For experts: Why am I using all 64 in DHCP? Because the actual LAN is /24 - it's OK for DHCP and when making references to a bigger network range to use the "unusable" network and broadcast addresses. :wink:

See: https://www.subnet-calculator.com/

You may wish to create a thread/edit title similar to this one in the future: [22.03] Translate extra/raw firewall rules

BTW, it was always possible to express this rule in CIDR notation.