.
Buffalo WZR-HP-G450H Firmware Version OpenWrt Attitude Adjustment 12.09 / LuCI 0.11.1 Release (0.11.1) with iptables-mod-iprange installed.

I would like to block a group of lan ip's from the internet and have tried the following rule without success, connection continues to be made:

config rule
        option src              lan
#        option rc_ip    192.168.1.7
option extra '-m iprange --src-range 192.168.1.4-192.168.1.50'
        option dest wan
        option proto all
        option target   REJECT

Actually I want to add something like:

option extra '-m time --weekdays Sat,Sun,Mon,Tue,Wed,Thu,Fri --timestart 05:00 --timestop 23:59'

In order to restrict access at certain times. Bot first I have been trying to get the iprange rule working. What am I doing wrong?

Any help appreciated,

Bob

--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10  FEDORA-23/64bit LINUX XFCE POP3
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to