[Solved] How to allow LAN to access guest network devices on dumb AP

Hi,

I've set up my dumb AP running OpenWRT to provide a guest wifi network as described in https://openwrt.org/docs/guide-user/network/wifi/guestwifi/guestwifi_dumbap. This works.

But I would like devices on my main LAN to be able to connect to devices on guest wifi (but not the other way round, obviously). What changes do I need to make?

Main router also runs OpenWRT. Main LAN is 10.0.0.*; guest LAN is 10.0.99.*.
Currently the main router knows nothing about the guest network, so presumably some change is required there.

To test I'm using ping 10.0.99.2 from the main router and/or a LAN device. (10.0.99.2 is the AP's IP address on the guest network.)

I'm using LUCI. There's nothing unusual/complex about my overall setup - the above sums it up really.

Since your main router runs OpenWrt, the optimal solution is to actually setup the guest network on that device and use VLANs to transport it to the AP. Then, the main router's firewall would be the thing that you'd use to handle everything.

That said, if you want to allow lan > guest access, you need to:

  1. Set a static route on the main router for 10.0.99.0/24 via 10.0.0.x where x is the address that the AP holds on the main lan.
  2. allow lan > guest forwarding on the AP
  3. disable masquerading on the lan firewall on the AP.
1 Like

Dumb AP is challenging because it's only being a bridge?

But on your main router you'd allow a forward from lan zone to guest zone but not the other way.

But that won't help you if you have multicast and other IoT things that actually want you to be on the same L2 network for discovery purposes.

First off, thanks both for almost instantaneous replies. I barely had time to correct my (several) typos.

Interestingly my first instinct was to configure this on the main router, but being somewhat out my depth I decided to just Follow The Instructions.

For now, I've followed 1, 2 and 3 above and it's working, so thanks! (At least as far as pings go; yes there are probably other things I need to consider.)

Next I need to go and learn about VLANs, and probably redo things for a more general, main-router-based solution.

Once you wrap your head around VLANs, it all makes sense. But there is a learning curve, for sure.

If you want help with it, a new thread would be the best way to go, and we can start by looking at your main router and then move onto the AP.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

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