I live in a dorm and there is one ethernet connection which is connected to the dorm network.
The reason I want to configure my OpenWRT router in such way is because some devices like my laptop, phone etc, they can connect themselves to a VPN service (to hide my internet usage from my dorm admin), so I would like them to get internet directly from the source ethernet (eg having an IP assigned by dorm network), but other IoT devices like my smart lights. Google Home etc, I want them to go through the VPN through the OpenWRT acting as a Wireguard client.
Is it possible that the OpenWRT router run as switch and also router at the same time?