How to Setup VLAN and Firewall (and make it work with UniFi, Home Assistant, Sonos, and Echo)

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 25

  • @michaelsleen
    @michaelsleen  3 місяці тому

    👉 Let me know if your tips and tricks when it comes to VLANs and firewall rules for a more secure smart home network.

  • @scockman
    @scockman 16 днів тому

    Thanks for a great video, especially liked the Sonos setup and will use that in my setup.

  • @Obtuse94
    @Obtuse94 2 місяці тому

    Thank you for this. Your channel is amazing, you definitely need (deserve) more views!
    I wonder if there are partnering so many of these great Home Assistant channels could do, crossovers, something.

  • @sbeexsbeex
    @sbeexsbeex 3 місяці тому

    Hi @michaelsleen thank you for the video, I am like you not a network professional and this kind of video saved me weeks of pain! My SONOS system finally work being on a different WIFI network as I wanted! Thank you!

  • @cameronw99
    @cameronw99 3 місяці тому

    This is great timing. I’m researching the rules I need to set up on my network for Apple Home and Home Assistant. One thing I’ve thought about using is the Private Preshared Keys feature, so I only would have one network name and different passwords to put a device on a VLAN.

    • @michaelsleen
      @michaelsleen  3 місяці тому

      Glad it helped - thanks for watching!

  • @jamegrabham9992
    @jamegrabham9992 2 місяці тому

    Thanks Micheal. I have struggled with topic. I have all of the same equipment, UniFi, Sonos, cameras, etc.. I have virtualized my HA server on my default vlan as well (ProxMox), and my IOT devices for the most part on this vlan. I did discover that the Aqara FP2 sensor must be on the same vlan, as HA server to add to HA by HomeKit integration. All of my cameras are wired on the default vlan, but I have locked all camera ports to the MAC address of the camera. I currently have no firewall rules, so everybody is happy…but I will start implementing your rules…thanks again.

    • @michaelsleen
      @michaelsleen  2 місяці тому

      Thanks for sharing, and hope it helps!

  • @wilty5
    @wilty5 3 місяці тому

    Thanks for presenting this important instructional video. Your channel deserves way more subs and likes. Internet and smart home network security is very important to keep secure. I also need to vie your previous vide on your setup. I live in an apartment so your setup is a bit extreme for me. Can you advise me on a unifi setup that costs a bit less but would come close to achieving what you have achieved with your setup. What can I use instead of the ISP all in one modem/router device?

    • @michaelsleen
      @michaelsleen  3 місяці тому

      Appreciate you saying that! Not sure how big your apartment is or what speed you pay for, but a single, centralized router (possibly even from your ISP) may be sufficient vs. spending more money on hardwired access points. UniFi is overkill for most apartments.

    • @wilty5
      @wilty5 3 місяці тому

      Thanks

    • @Lukeredacted
      @Lukeredacted 2 місяці тому

      I would look into the new Cloud Gateway line from UniFi. As far as I know, the new Cloud Gateway Max ($200) has all of the features needed to set up your network like this video. Look into that and see if it will work for you. Cheers.

    • @wilty5
      @wilty5 2 місяці тому

      @@Lukeredactedthanks, I appreciate it

  • @Obtuse94
    @Obtuse94 2 місяці тому +1

    Two quick questions:
    1. I know that most IoT devices are 2.4 but why only restrict that network to support only that? Just to keep the 5ghz clear on bandwidth as much as possible?
    2. Is your Home Assistant deployed on your Default/main? Or is that as well on the IoT network. Tried to zoom in but still couldn't make out the subnet.

    • @michaelsleen
      @michaelsleen  2 місяці тому +2

      1) I find the IoT network more reliable/stable when restricted to 2.4 GHz. 2) Home Assistant is on my Default/Main LAN.

  • @InvisibleZed
    @InvisibleZed Місяць тому

    Hi Michael, many thanks for doing this video on these devices for unifi - it's not a topic that's easy to find help with. I am switching to unifi kit but have concerns on how to setup my HA. I currently run HA desktop (HA Green device) on my mac on default lan also via iphone app. I assume you've move HA to the IoT vlan. If I move HA to the IoT vlan, so it can talk to the IoT devices, is there a way to still have the IoS app or desktop control the HA - like a firewall rule for instance? I've seen mention that HA can connect to two IPs (one for default lan, one for IoT) but not explored that as yet. I could setup a separate pc for desktop HA control but then wonder if I'd love IoS app access. I guess this also applies to SONOS app too. Thanks

    • @michaelsleen
      @michaelsleen  Місяць тому

      Sure thing! Not sure if you finished watching the video, but my HA server is on my main (default) LAN, not on the IoT LAN. I use firewall rules as shown in the video so things can talk to each other as I need them to.

  • @LynAskinFamily
    @LynAskinFamily Місяць тому

    I noticed your Sonos were still on your Default Lan. Was the intention to move them to your IoT? Thanks!

    • @michaelsleen
      @michaelsleen  Місяць тому +1

      Sonos can be finicky. Right now I have Sonos speakers on their own dedicated 2.4Ghz WiFi network and on their own dedicated VLAN (ID = 30), and that seems to be working really well.

    • @LynAskinFamily
      @LynAskinFamily Місяць тому

      @@michaelsleen Watched the rest of the video and got the sonos setup and working perfectly on their own vlan. Thank you!

    • @michaelsleen
      @michaelsleen  Місяць тому

      Great!

    • @LynAskinFamily
      @LynAskinFamily Місяць тому

      ​@@michaelsleen A couple of things i'm still having difficulty with. I can't get my hubitat added to homekit, and I can't get my hubitat to scan and find the sonos devices. Any advice?

    • @michaelsleen
      @michaelsleen  Місяць тому +1

      I would treat Hubitat similar to how I treated Home Assistant in the tutorial. I'm not sure if Hubitat requires access to different ports for Sonos compared with what I showed for Home Assistant. I am able to add to HomeKit and find Sonos devices without issue.