How to VLAN iot? - eviltoast

Hello, this is not a question on how to configure my router (maybe) it’s more for the concept that I can’t understand.

By the way, I only have a default isp router, that I can’t even modify the dns, so I assume I’ll have to buy my own.

So o want to have all my IOT devices on a different network, so as to not compromise my newly made homeserver, but what I don’t get is how will I be able to turn on and off my light bulbs.

All the articles I see on creating VLANs tell something like “devices on port 2 can communicate with port 1 (internet) but cannot communicate with devices on port 3,4,5, 6…” and so on.

But if my IOTs are on a VLAN A and my Phone, computers, server are on VLAN B, how can I turn the lights on and off from my phone?

Maybe I’m getting it wrong, and my phone should also be on the same VLAN as the IOT, but then how will I connect to my server?

Thanks.

  • b100jb100@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    As others have said: most IoT devices “phone home” using the internet. Your phone connects to a server on the internet which then communicates with the IoT device. That’s why it keeps working even when you are not home.

    For devices that only work locally you can still make it work. More advanced routers (eg running OpenWRT) can be set up to allow ‘one-way’ traffic between two VLANs. So a device on your home wifi can still connect to the IoT device but not the other way around.