I know microtik exists but I'm not sure how decent SwOS is right now and I've been fighting the router I do have from them (Microtik hEX S).
SwOS is layer 2 only. It can do some very basic L3 filtering depending on the device, but it cannot do routing. The UI is a million times easier to work with than RouterOS though, all web-based and the VLAN support is... reasonable.
Here's the ACL options on my CRS309-1G-8S+
You define the VLAN table under the "VLANs" tab. Basically the same as the VLAN database in Cisco devices though doing this all in a web UI sucks vs a console where you can just copy and paste a giant table in with ease.
The "VLAN" tab defines the mode for each interface. My recommendation is that first thing you do is change all the modes from "optional" to "strict". Optional with the default VLAN Receive of "any" will send and receive all tagged and untagged traffic without regard for memberships you define in the VLANs page. If you change it to strict + only untagged then it behaves like an access port in Cisco.
For VLAN aware devices such as WAPs and routers, I set it to strict + any or strict + only tagged based on whether untagged traffic may be present. Default VLAN ID just defines the ID to tag untagged traffic.
For routing, either figure out RouterOS or use a software router like OPNsense. With OPNsense you can create VLAN interfaces so you can do routing and shit
edit: i realized i know fuckall about the matter of VLANs
In their most basic form, VLANs are just a way to segment traffic within a switch based on a "tag" in an Ethernet frame header. You have tagged and untagged traffic, where untagged traffic lacks the VLAN ID in the frame header, but it can be applied by a switch so that anything downstream of the port is none-the-wiser to the VLAN tagging, but switches can still segment traffic.
Tagged traffic of course is traffic which contains the VLAN ID, and this is what you're dealing with when you have a router making decisions based on what VLAN ID it sees. Basically any router capable of working with VLANs will have the concept of creating VLAN interfaces atop a real interface.
So say hypothetically ether2 is hooked up to an L2 managed switch that can do VLAN shit, you can create a VLAN interface underneath ether2 with the ID that you want, then anything you "tag" with that ID now just hits that special VLAN interface with its own separate DHCP pool, IP space, etc.
Anyway I'm guessing you're using RouterOS based on the interface naming, but it's kinda hard to tell what the hell you're talking about and certainly what you're doing right now is not involving VLANs at all as you
need to have VLAN interfaces to work with it. I know 100% you can do VLAN interfaces with ROS but I don't have a working example to share with you as I migrated away from ROS back to OPNsense.