let's said I want to deny a ip range of my lan from 192.168.1.100 to 192.168.1.200 to access internet
I add iptables rules in /etc/firewall.user and restart firewall to take effect.
but is there any other firewall managerment package in luci can do the same job ?
uci add firewall rule
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].name='test'
uci set firewall.@rule[-1].extra='-m iprange --src-range 192.168.1.100-192.168.1.200'
uci set firewall.@rule[-1].family='ipv4'
uci set firewall.@rule[-1].target='REJECT'
uci set firewall.@rule[-1].dest='wan'
uci add_list firewall.@rule[-1].proto='all'
uci commit firewall
service firewall restart