Hello!
First time poster here.
After borking my OpenWRT install two times where I had to do a pinhole reset back to defaults because I lost access to the webui I concluded I'm severely misrepresenting/not understanding how VLANs work, so I decided to try posting here for assistance.
Firstly, let me explain what I am trying to achieve:
GOAL: Isolate a single device from LAN, while retaining access to WAN (the device in question will act as a public facing webserver). From what I understand the way to go about this would be having the device on a separate VLAN. If there are alternate, more simpler ways to achieve this I'm more than open to suggestions.
My Network topology:
OpenWRT router > lan2 port > managed switch > P2 > Device that needs to be on a separate VLAN
Do note that there are other devices connected to the managed switch and they need to remain on the default LAN.
I've tried following various guides/examples in the past but most things I can find online seem to be written for pre-DSA openwrt versions or set VLANs on the routers ports themself with the assumption everything connected to that port will need to be on that VLAN (although this might just be me a misrepresentation on my part and me not understanding how vlans actually work).
Regarding the managed switch, I'm not entirely sure if I set that up correctly either, but given that I managed to break the network completely and lock myself out of the webui I thought I'd want to at least get the OpenWRT part of things somewhat correct so I can go about adjusting the managed switch further after that.