Hello,
I'm not using 386_
41700. I'm not aware it is available from Asus. I'm testing 3.0.0.4.386_
41634. This is the latest version mentioned today at
https://www.asus.com/us/Networking/RT-AC86U/HelpDesk_BIOS/.
Summary: That current official Asus is not really great anyway for Time Scheduling anyway.
I am just sharing to illustrate the challenge of testing this, and to set some sort of baseline for those who test. I understand that closed source is closed source. And the Merlin and Asus versions are not necessarily in synch regarding the codebase for this; so, today's version A of Merlin might not work exactly like today's version B of official.
With a
Chromecast 3, or on a laptop in Wifi in a browser, a Netflix show seems to stop within a few minutes (2 to 4 minutes). This is great and expected. (You expect Netflix to buffer some content. The show was low definition by the way, so maybe there was more "show duration" in the buffer.)
With the
Android App on an Android 9 phone, Netflix seems to take 15 to 20 minutes before stopping the show. (Yesterday, it seemed to be much faster at stopping.)
With
Android TV (V7, in
Ethernet), the show seems to never stop (actually, in one case it stopped 35 minutes after the start of the time window). With Merlin 384.18, it used to stop within a few minutes).
Above, I'm referring to a stream that was started and that should be stopped. If you want to start a new show or new episode, the blocking seems to be immediately effective. And when you lift the rules, the unlocking also happens immediately.
TL;DR: Difficult to test properly.
Peculiarities: My devices are in the 192.168.17.x range. Some devices connect in Wi-Fi, one is cabled. Some rules were defined in the webUI, some in the Android app.
I'm not sure what generates the blocking but some/all of it must come from the stuff below.
--dport 80 looks too specific to effectively block all traffic. It would also explain why it would block some stuff "immediately", and not other types of traffic. My approach would be to simply block traffic to all ports. (Update:
http://192.168.17.1:18099 is a static web page that announces that the device is blocked. (Search 18099 below.) )
Again, I understand it has nothing to do with Merlin's software. But if one feels adventurous enough to replace the rules ;-) Or if some are willing to share the rules that are generated on various versions, we might be able to understand better which versions have a chance to work or not. See also
https://www.snbforums.com/threads/ac68u-time-schedule.58353/#post-513227
Code:
aaa@RT-AC86U-4020:/tmp/home/root# iptables -t nat -n --list PREROUTING
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
GAME_VSERVER all -- 0.0.0.0/0 109.89.xxx.xxx
VSERVER all -- 0.0.0.0/0 109.89.xxx.xxx
PCREDIRECT all -- 192.168.17.116 0.0.0.0/0 TIME from 22:30:00 to 23:59:59
PCREDIRECT all -- 192.168.17.116 0.0.0.0/0 TIME from 00:00:00 to 07:00:00
...
PCREDIRECT all -- 192.168.17.26 0.0.0.0/0 TIME from 23:00:00 to 23:59:59
PCREDIRECT all -- 192.168.17.26 0.0.0.0/0 TIME from 00:00:00 to 07:00:00
PCREDIRECT all -- 0.0.0.0/0 0.0.0.0/0 TIME from 21:00:00 to 23:59:59 MAC A0:10:81:0F:FB:38
PCREDIRECT all -- 0.0.0.0/0 0.0.0.0/0 TIME from 00:00:00 to 07:00:00 MAC A0:10:81:0F:FB:38
PCREDIRECT all -- 192.168.17.124 0.0.0.0/0 TIME from 21:00:00 to 23:59:59
PCREDIRECT all -- 192.168.17.124 0.0.0.0/0 TIME from 00:00:00 to 07:00:00
aaa@RT-AC86U-4020:/tmp/home/root# iptables -t filter -n --list FORWARD
Chain FORWARD (policy ACCEPT)
target prot opt source destination
PControls all -- 192.168.17.116 0.0.0.0/0 TIME from 22:30:00 to 23:59:59
PControls all -- 192.168.17.116 0.0.0.0/0 TIME from 00:00:00 to 07:00:00
ACCEPT all -- 192.168.17.116 0.0.0.0/0
...
PControls all -- 192.168.17.26 0.0.0.0/0 TIME from 23:00:00 to 23:59:59
PControls all -- 192.168.17.26 0.0.0.0/0 TIME from 00:00:00 to 07:00:00
ACCEPT all -- 192.168.17.26 0.0.0.0/0
PControls all -- 0.0.0.0/0 0.0.0.0/0 TIME from 21:00:00 to 23:59:59 MAC A0:10:81:0F:FB:38
PControls all -- 0.0.0.0/0 0.0.0.0/0 TIME from 00:00:00 to 07:00:00 MAC A0:10:81:0F:FB:38
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 MAC A0:10:81:0F:FB:38
PControls all -- 192.168.17.124 0.0.0.0/0 TIME from 21:00:00 to 23:59:59
PControls all -- 192.168.17.124 0.0.0.0/0 TIME from 00:00:00 to 07:00:00
ACCEPT all -- 192.168.17.124 0.0.0.0/0
ACCEPT all -- 192.168.17.132 0.0.0.0/0
ACCEPT all -- 192.168.17.112 0.0.0.0/0
ACCEPT all -- 192.168.17.134 0.0.0.0/0
ACCEPT all -- 192.168.17.23 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
DROP all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate DNAT
DROP all -- 0.0.0.0/0 0.0.0.0/0
aaa@RT-AC86U-4020:/tmp/home/root#
Code:
aaa@RT-AC86U-4020:/tmp/home/root# iptables -S | grep PControls
-N PControls
-A FORWARD -s 192.168.17.116/32 -i br0 -m time --timestart 22:30:00 --timestop 23:59:59 --kerneltz -j PControls
-A FORWARD -s 192.168.17.116/32 -i br0 -m time --timestart 00:00:00 --timestop 07:00:00 --kerneltz -j PControls
...
-A FORWARD -s 192.168.17.26/32 -i br0 -m time --timestart 23:00:00 --timestop 23:59:59 --kerneltz -j PControls
-A FORWARD -s 192.168.17.26/32 -i br0 -m time --timestart 00:00:00 --timestop 07:00:00 --kerneltz -j PControls
-A FORWARD -i br0 -m time --timestart 21:00:00 --timestop 23:59:59 --kerneltz -m mac --mac-source A0:10:81:0F:FB:38 -j PControls
-A FORWARD -i br0 -m time --timestart 00:00:00 --timestop 07:00:00 --kerneltz -m mac --mac-source A0:10:81:0F:FB:38 -j PControls
-A FORWARD -s 192.168.17.124/32 -i br0 -m time --timestart 21:00:00 --timestop 23:59:59 --kerneltz -j PControls
-A FORWARD -s 192.168.17.124/32 -i br0 -m time --timestart 00:00:00 --timestop 07:00:00 --kerneltz -j PControls
-A FORWARD -s 192.168.17.132/32 -i br0 -m time --timestart 23:20:00 --timestop 23:59:59 --weekdays Mon,Tue,Wed,Thu,Fri --kerneltz -j PControls
-A FORWARD -s 192.168.17.132/32 -i br0 -m time --timestart 00:00:00 --timestop 08:00:00 --weekdays Tue,Wed,Thu,Fri,Sat --kerneltz -j PControls
-A PControls -i br0 -o br0 -j DROP
-A PControls -m state --state INVALID -j DROP
-A PControls -j DROP
aaa@RT-AC86U-4020:/tmp/home/root# iptables -t nat -S PCREDIRECT
-N PCREDIRECT
-A PCREDIRECT -s 192.168.17.116/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
...
-A PCREDIRECT -s 192.168.17.26/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
-A PCREDIRECT ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -m mac --mac-source A0:10:81:0F:FB:38 -j DNAT --to-destination 192.168.17.1:18099
-A PCREDIRECT -s 192.168.17.124/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
-A PCREDIRECT -s 192.168.17.132/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
-A PCREDIRECT -s 192.168.17.112/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
-A PCREDIRECT -s 192.168.17.134/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
-A PCREDIRECT -s 192.168.17.23/32 ! -d 192.168.17.0/24 -i br0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.17.1:18099
ojadot@RT-AC86U-4020:/tmp/home/root# nvram show 2>/dev/null | grep ^MULTIFILTER
MULTIFILTER_ALL=1
MULTIFILTER_ENABLE=1>1>1>1>1>1>1>1>1
MULTIFILTER_MACFILTER_DAYTIME_V2_CONVERTED=1
MULTIFILTER_URL=
MULTIFILTER_URL_ENABLE=
MULTIFILTER_MAC=E4:34:93:B3:1B:F1>FC:DE:90:5D:43:51>5C:5F:67:21:04:9E>A0:10:81:0F:FB:38>58:C5:CB:5E:42:C3>04:5D:4B:E8:AD:2A>50:01:D9:93:0D:8F>44:07:0B:A2:0A:83>D4:6D:6D:B0:B8:8C
MULTIFILTER_DEVICENAME=HUAWEI_Mate_20_Pro-c9607a>Galaxy-A51>TP14>New device>Galaxy-Tab-S2>Sony(android)>HUAWEI_Mate_9-18a9c1644a5>Chromecast>ThinkPad
MULTIFILTER_MACFILTER_DAYTIME=
MULTIFILTER_MACFILTER_DAYTIME_V2=W17F22300700<W03E21000700<W04122000800>W17F20300700<W03E21000700<W04122000800>W17F23000700<W03E21000700<W04122000800>W17F21000700<W03E21000700<W04122000800>W17F21000700<W03E21000700<W04122000800>W07F22202300<W13E23200800<W04123000900>W03E16301900<W04122000800>W03E21000700<W04122000800<W00816001700>W03E21000700<W04122000800<W00817001900
MULTIFILTER_TMP=
aaa@RT-AC86U-4020:/tmp/home/root#