Code Monkey home page Code Monkey logo

udm-setup's Introduction

Unifi Dream Machine / Pro Setup

Note that this was pulled together from the Unfi v2.x line, now that they have moved to v3.x a lot of this is redundant / wont work.

I pulled this together in response to an query on the Unifi message boards and as I have way too much time on my hands thought that I would quickly write it up, partly to help out and partly so that I've a record when I come to repeat the install (if I need to!)

Task Lists

  • update formatting
  • Add Open SpeedTest container to UDM Host
  • Many things on Pi-Hole
  • Add some images and diagrams rather than a wall of text settings
  • Walk through of my @boostchicken udm config

Start point

The start-point is a clean install of whatever version of the firmware and Unifi Application is current. I'm on the beta programme so for me thats currently:

Outcome

..or what is it that we want to achieve? For me its a simple vlan setup that allows my IoT devices to exist on a stand-alone network thats generally a 2.4Ghz network and my 'Office' LAN that has wired and wireless devices that are normally on the 5Ghz network.

I want to be able to access my IoT devices from my LAN but make it a classic data-diode approach where information can only flow one way. This will allow my LAN to stay secure whilst allowing access to all the various apps/control surfaces etc that the IoT Devices expect.

What IoT devices does this work with?

In classic Internet parlance, YMMV but for me this setup works with the following devices:

  • Sonos Speakers (3 scattered about the house)
  • Phillips Hue lights (too many, also includes Innr lamps as well)
  • Bosch Ovens (via Home Connect App)
  • Siemens Tumble driers (via Home Connect App)
  • Loop Energy Saver (simple device to monitor energy usage)
  • ProWarm underfloor heating
  • Various Nest Smoke Alarms
  • Nest Thermostat
  • Logitech Harmony Hub
  • Velux Gateway
  • Homekit devices
  • Arlo Cameras
  • Google Chromecast
  • Yamaha Home Theater Amp
  • Kamado Joe iKamand (essential!)
  • IKEA TRÅDFRI Smart Lighting

Blimey, anything else??

Yes, there is also a Pi-Hole but thats probably a different readme. FWIW you should always have a pi-hole on your network. Mines a simple Raspberry Pi 4 that I have running with a PoE+ HAT so it just plugs into my switch under the stairs.. oh its also a docker box that can run a bunch of things and I'm probably going to add another one with a dual NIC module to get around the PPPoE issue that seems to affect the UDM/UDMP throughput

Basic Setup

These are my settings for my use-case, you may have different needs but this will give you a starting point. Most of these are set to the default as I've not (yet) found a good reason to change them..

LAN and IoT LAN

Basic LAN setup

Wireless Networks

Basic Wireless Network setup

LAN and Wireless setup complete!

So, thats the basics - you will now have 2 LANs and 2 wireless networks. You can connect the relevant devices to each network and just check that all is good. Noting that to use the apps and things that are used by the IoT network you will need to connect your device to that network as currently there is no real connectivity between the two. Thats the next step...

Firewall Rules

So, to enable your main LAN to be secure and walled off from your IoT LAN we need to set some firewall rules. Its pretty simple and you only need a couple of rules.

Firewall Rules

Multicast Relay

To allow proper multicast (compared to the broken one that ships with UnifiOS) you can install one via podman

Docker multicast relay

Useful docs to read

List of useful links

udm-setup's People

Contributors

hanley-development avatar tobyanscombe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.