kernel-panic69 DD-WRT Guru
Joined: 08 May 2018 Posts: 14125 Location: Texas, USA
|
|
Alozaros DD-WRT Guru
Joined: 16 Nov 2015 Posts: 6407 Location: UK, London, just across the river..
|
Posted: Tue Jun 07, 2022 15:27 Post subject: |
|
you didn't mention router model and current firmware number...
but if your router supports it, try to save this line in firewall script (it works on my R7800, R9000 but I'm not using it ATM)
iptables -I FORWARD -s 192.168.1.107 -m time --timestart 8:00 --timestop 18:00 --weekdays Mon,Tue,Wed,Thu,Fri,Sat,Sun --kerneltz -j REJECT
replace 192.168.1.107 with local IP you want to limit...as well adjust time and days...
you could also block only the range of IP or just an IP related with this game or app that shi is using
iptables -I FORWARD -d 8.8.8.8 -m time --timestart 8:00 --timestop 18:00 --weekdays Mon,Tue,Wed,Thu,Fri,Sat,Sun --kerneltz -j REJECT
replace destination IP of 8.8.8.8 with those you want to block...in this case internet will be still available but not access to this site or app
you cold even be more specific and add -s and -d in the same line...so no others will be affected by this rule..
p.s. make sure, you give a static lease (IP) to this client you want to block... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913 |
|