Hello,
I am new to OpenWRT and am having a heck of a time getting VLANs working the way I want. I already have a router and am only configuring OpenWRT on a Unifi AP AC Lite as an access point. My final goal is a configuration like so:
- VLAN 99 "Management" 192.168.0.2
- VLAN 100 "LAN" <no IP> "SSID1"
- VLAN 101 "IOT" <no IP> "SSID2"
- VLAN 102 "Guest" <no IP> "SSID3"
I would like to be able to access the web UI via 192.168.0.2 and otherwise just forward traffic from the WiFi networks over the VLANs upstream to the router. (I am not 100% sure on client isolation/switching within VLANs on the AP, but I can come to that problem later.)
I am using DSA and am creating the VLANs in the default bridge. I then created interfaces on each VLAN (and moved the default LAN interface to the proper VLAN as well).
Unfortunately, I haven't been able to connect to the web UI via VLAN 10. (I am testing this with a direct connection to my computer and having its interface join the proper VLAN.) If I leave an IP address configured on the "LAN" interface, I can continue to reach the web UI on that address.
After changing the firewall defaults under "General Settings" all to accept, I was then able to connect via SSH to the "Management" IP, but still no luck with the web UI. (Other than this change, I haven't changed any firewall settings, either for the default LAN interface or the new ones I created.)
I tested with curl and got some weird behavior: on the "LAN" IP, I get a 403 Forbidden followed by the login page HTML. On the "Management" IP, I see the 403 Forbidden response, but then the response hangs indefinitely and no HTML (and actually no further headers) arrive.
I searched for configuring LuCI to "listen" on additional interfaces, but it seems like by default it should be doing that anyway.
(Of course, if I remove the IP address from the "LAN" interface, I cannot connect to LuCI at all.)
Can anyone give me advice on this? I'm certain that I'm missing something simple/obvious, but I've locked myself out and had to do a factory reset so many times that it became time to ask for help.
Thanks!