tag:blogger.com,1999:blog-3279772827714743698.post6076126803870830137..comments2024-01-02T07:29:14.477-08:00Comments on Whirly's World: Blocking Internet at specific times using Netfilter / iptables on OpenWrt RouterWhirlyhttp://www.blogger.com/profile/03366936532800376833noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3279772827714743698.post-29867262799860601452020-12-07T07:38:18.807-08:002020-12-07T07:38:18.807-08:00"date -k" - the answer to my problem and..."date -k" - the answer to my problem and more, thank you!Unknownhttps://www.blogger.com/profile/11956833161372597918noreply@blogger.comtag:blogger.com,1999:blog-3279772827714743698.post-81139348511930998732018-08-03T18:14:57.083-07:002018-08-03T18:14:57.083-07:00Excellent Howto!
For those who prefer to use /etc...Excellent Howto!<br /><br />For those who prefer to use <b>/etc/config/firewall</b> method here is a sample section:<br /><br /><b><br />config rule<br /> option src 'lan'<br /> option dest 'wan'<br /> option src_mac '00:15:58:6A:5C:C2'<br /> option target 'REJECT'<br /> option name 'Sahara'<br /> option extra '-m time --weekdays Mon,Tue,Wed,Thu,Fri --kerneltz --timestart 09:00 --timestop 17:00'<br /> option enabled '1'<br /></b>Anonymoushttps://www.blogger.com/profile/13356090352435765910noreply@blogger.comtag:blogger.com,1999:blog-3279772827714743698.post-80026326255618677242017-06-20T20:51:57.602-07:002017-06-20T20:51:57.602-07:00Thank you! This is exactly what I was looking for....Thank you! This is exactly what I was looking for. My version of OpenWRT (r45545) does support --contiguous BTW.<br /><br />Like Timo, I also used REJECT instead of zone_wan_REJECT.<br /><br />Finally, some web pages these days seem to use UDP to transmit some data (notably Google search), so I also used -p all instead of -p tcp Unknownhttps://www.blogger.com/profile/00567766876694865145noreply@blogger.comtag:blogger.com,1999:blog-3279772827714743698.post-82341138131083278412016-01-11T22:48:36.612-08:002016-01-11T22:48:36.612-08:00Thanks for your blog. It helped me a lot to restri...Thanks for your blog. It helped me a lot to restrickt Internet acces of my children.<br />I had to modify the last option on my openWRT:<br />"-j zone_wan_REJECT" => -j REJECT<br /><br />TanksTimo Johnhttps://www.blogger.com/profile/03215064237827177366noreply@blogger.com