What's new

How do I block Admin page to different subnet?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

SNP123

New Around Here
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?

Thanks.
 
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.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top