Hi,
I have two routers 1st from ISP (192.168.0.1) another one OpenWrt (192.168.1.1), I can access ISP router on openwrt but openwrt not working on ISP network. I want to use openwrt connected network drives and printer on both network.
Thanks @frollic , I have applied and its working, but question here, is firewall and adblock and other rules will work for connect devices? Also I am worried about vpn service
As i checked, i have some rules in firewall and blocked some website, now no rules working. Please suggest another way this is not which I want. Thanks
Yes. You can use a static route to avoid double nat. With this, you can turn off masquerading on your openwrt wan zone, and then create a forward rule from wan > lan.
Your static route will look like:
Network 192.168.1.0
Netmask 255.255.255.0
Gateway 192.168.0.x
Where x is the wan address off your openwrt router.
Previously you had the wan of your openwrt device connected to the lan of your isp router. The wan would have therefore had an address on your isp router’s lan in the 192.168.0.0/24 network.
thanks @psherman, I tried many things, still not working, can we switch on another solution, as i can see i have bridge mode option with ISP modem lan port, can we handle it with openwrt? is this can help to connect both network into one?
If you engage bridge mode, theoretically your ISP device becomes just a modem and then passes the ISP provided IP address to the next device dwnstream. If you do this, you'll avoid double-NAT on your OpenWrt router, and you'd put everything behind the OpenWrt router itself. Then, if you want to create multiple networks for any reason, you could do that fairly easily within OpenWrt.
So, now is a good time to ask why some devices are/were still connected to the ISP device... obviously the ones behind your OpenWrt router were being setup with Adblock and other rules, per your earlier response... why not all devices behind OpenWrt? The answer to this will help us understand if you should setup 2 networks on your OpenWrt router, or just go with one.
Thanks a lot @psherman for your valuable response, Actually the issue is area of coverage. ISP router can cover 1/2 and rest 1/2 i am doing with my openwrt. This is only the reason.