Posted: Mon Dec 01, 2025 15:44 Post subject: Access Restrictions - WAN Access Policy - by schedule
Have DD-WRT (Nov 26,2025) installed on Netgear R6700(V2) NightHawk router.
Have a local wired LAN setup such that each computer on the LAN has a Static Lease with no expiration. Some of those computers I've designated IPs within a "range".
In Access Restriction, the WAN Access Policy is enabled with Deny selected. My List of Clients that I want targeted for this restriction, only has the IP range set for IP Range 01.
The Time Period is configure as: 0:00 To 7:00
However, the computers still had access after midnight. Does the WAN access affect LAN connected computers?
Weirdly the client of 10.0.0.30 lost Internet access at 7pm. And other IPs in that range did not lose Internet connectivity. At least that is some success of a sort.
Joined: 16 Nov 2015 Posts: 7044 Location: UK, London, just across the river..
Posted: Wed Dec 03, 2025 6:35 Post subject:
hmm your range its not a correct to convert it, IP Range To CIDR, try to express it as a CIDR notation
but it would look like
10.0.0.30/31
10.0.0.32/27
10.0.0.64/26
10.0.0.128/25
so, one rule for each line to work as intended...kind of..
Also to note, newer builds than 62606 moved to nft-tables and currently there is a glitch with iptables to nft-tables translation...so you may need to use 62606 build and than once the transition to nft-tables settles down, convert all your rules to nft-tables...
At the moment on the newer builds, both rules sets are working at the same time.....and some complex rules are not translated...correctly...to nft-tables...kind of... _________________ Atheros
TP-Link WR1043NDv2 -DD-WRT 62606 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 62890 GTW/SmDNS/DoT,AD-Blk,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 62606 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla,VPN cli
Netgear R9000 --DD-WRT 62606 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 62606
Broadcom
Netgear R7000 --DD-WRT 63020 GTW/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN cli
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
However, the result was similar to before. The machine at 10.0.0.30 had packets rejected starting at 7pm. Instead of the desired time of 00:01 to 07:00.
Meanwhile, none of the other computers were affected even though they also belonged to the ranges above.
Also note the DD-WRT Gui displays the correct time.
Still trying to get these IPTABLES rules to work... so decided to start over with just ONE rule in this attempt. Which targets only 2 computers with this particular CIDR.
All these commands are done via SSH/Putty.
Changed the time for a 30 minute window and waited. But the targeted Computer still had access - no change.
This command was entered after power cycling the router and ensuring only the default rules were in place.