I do have the use-case covered in
Guest Wi-Fi on a dumb wireless AP using LuCI
I do have two points I would like to discuss:
I do feel uncomfortable enabling Masquerading on "lan" as it is described in the doc linked above.
Why? I can not say exactly. In my brain, Masquerading somehow has to be set on the wrong side. Another reason might be the visualization "lan => wan" and "wan =>" that then have Masquerading set on "both directions".
I created an additional, separate zone as shown in the following pictures:
It feels better to me, but does it make sense? A fake zone also feels wrong. But modifying "lan => wan", that has nothing to do with guests feels wrong too. At least this way everything regarding guests is an obvious addition, that can easy be identified and deleted when necessary.
The second point is regarding the traffic rules.
I also added "::/0" to block any IPv6 traffic from the guest zone to my lan.
My ISP (modem in bridge mode) does (still) not support IPv6 along with IPv4, so I use IPv4 only to connect to the internet and so do the guests.
I guess packets in the guest network with link-local destinations do not get forwarded to the lan. But what about any "special" IPv6 addresses? Aren't there multicast or special addresses for servers of specific types like gateways, dns, ntp...? So I blocked them all.
If I ever get IPv6 internet access, my devices on the lan would get public IPv6 addresses. Without the "::/0", guests could access the lan devices using their public IPv6 addresses. right?
When guest should get public IPv6 addresses, everything would then get much, much more difficult. It could would be worth to extend the OpenWrt doc for that scenario.


