I have a DD-WRT router that is on a 192.168.1.0 subnet, and I would like to block all connections to admin page (port 80) for computers coming from 192.168.5.0 subnet.
Any idea what iptables command or some other command to use to do this?
On the Cisco RV340 router there is a way to lock down the Admin access under router management. Trying to use ACLs will be hard because you use the router as focal point for internet access so devices on 192.168.5.0 network need to pass through the router.
Can you use multiple IP addresses for the router interface? If you could assign 192.168.5.1 as well as 192.168.1.1 for the router then you might be able to block the 5 network. I have not used DD-WRT.