Double NAT configuration. HELP!

I have one router (192.168.2.1) with openwrt connected to my modem (192.168.1.1).
I'm trying to block the router to access some devices connected to my modem (192.168.1.1).
Basically i just want to block local IPs from 192.168.1.0 to 192.168.1.255 in order to block the router to access my modem's devices.
Anyone can help?

  1. The title doesn't match what you want to do.
  2. If you block all these IPs the router will not be able to access the internet.
  3. Are you sure you want to block the hosts connected to the modem from the router only or from the hosts behind the router?

I want to block the devices connected to the modem from the router.
I noticed that from modem i can't access my router's devices, probably it's the default setting of openwrt.

That you cannot do, because they are in the same network. And whatever is in the same network is considered trusted.
You could setup a firewall on each individual host connected on the modem, but good luck with that.

Can't I just add some settings in openwrt, like "block access IPs from 192.168.1.0 to 192.168.1.254, except, 192.168.1.1"?

Problem solved. I added a traffic rule to block all the devices to access 192.168.1.1/24.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.