Definitive Guide to Hosted UniFi 2021

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • How to install a Hosted UniFi controller in 2021! This guide shows you how to install a hosted multi-site UniFi 6.0.43 (or newer) controller on Ubuntu 20.04. We also cover how to secure your server using private key authentication, non-root user access, and a non-default SSH port. Plus all of the software and configuration prerequisites that make this the Definitive Guide to Hosted UniFi 2021.
    Definitive Guide to Hosted UniFi Blog post: crosstalksolut...
    ----------
    Buy me a beer! ko-fi.com/cros...
    Or donate some Crypto! crosstalksolut...
    Follow me on Twitter: @crosstalksol
    Crosstalk Solutions - RECOMMENDED PRODUCTS: crosstalksolut...
    Crosstalk Discord: / discord
    Amazon Wish List: a.co/7dRXc67
    Crosstalk Solutions offers best practice phone systems and network/wireless infrastructure design/deployment. Visit CrosstalkSolut... for details.
    Connect with Chris:
    Twitter: @CrosstalkSol
    LinkedIn: goo.gl/j2Ucgg
    RUclips: goo.gl/g4G58M

Комментарии • 158

  • @wzk921109
    @wzk921109 3 года назад +1

    Just by the title, this is really needed since the update.

  • @geoffreyring1856
    @geoffreyring1856 3 года назад

    Oh my, makes a Synology hosted UNiFi controller look easy. I’d rather buy a cloud key than do command line green screen. Thanks for putting this type of video together.

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад +1

      I have a video showing how to install UniFi on Synology as well. :)

    • @geoffreyring1856
      @geoffreyring1856 3 года назад

      I know, I used it to set up mine, and refer back to it each time I have to upgrade it to a new version. Very much appreciated. I’d love to see a step by step guide for creating VLANS and firewall rules using a USG for segmenting IoT, Corporate, Camera, etc.

  • @Mcduff001
    @Mcduff001 3 года назад +14

    Superb, I've use this guide to install and run my own cloud hosted controller for a couple of years, works perfect, Chris is an amazing teacher!

  • @remixedMind
    @remixedMind 3 года назад +2

    Great video, for the unifi install you can also use the script Glenn R. created.

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад +1

      Yes - and I may do a follow-up showing that script. However, for this purpose, it's always nice to actually learn all of the pieces of the puzzle, and explain each step along the way. It's a better learning experience than the so-called magic box that just does everything behind the scenes.

    • @remixedMind
      @remixedMind 3 года назад

      @@CrosstalkSolutions Yes i agree, its great to learn how it works, im just saying it can be mentiont for people that just want easy one click solution

    • @seanwoods1526
      @seanwoods1526 3 года назад

      @@CrosstalkSolutions Also Glenn's script does the LE hooks for you as well, just FYI.

  • @NenadKralj
    @NenadKralj 3 года назад +1

    I assume that you need to have static WAN ISP IP address (for connecting from specific Ip address) to server/unify?
    And many of us have dynamic ip not static.

  • @terryjohnson3100
    @terryjohnson3100 3 года назад

    Thanks Chris! You are awesome.

  • @erikbakke5401
    @erikbakke5401 3 года назад

    Superb, my cloudkey is for sale :P migrated to cloud controller without any problems.

  • @KirasNote22
    @KirasNote22 3 года назад +1

    Question: using ufw to allow from [IP address] to any port [SSH port number] does not sound like a good idea for the majority of people watching this video. As they likely have a dynamic IP. Is there a way to get around this? I have not found a solution.

  • @pasatiempotony
    @pasatiempotony 3 года назад

    Chris' cookbook worked perfectly. I now have a controller running in the cloud. One hitch though. My UniFi DHCP server does not seem to be working. Which makes sense I guess. Is there a way to make UniFi's DHCP server work in this cloud based implementation?

  • @nainm6196
    @nainm6196 3 года назад

    What are your views on the new cloud key update that does not allow remote site management ?

  • @mihalyfreeman5928
    @mihalyfreeman5928 3 года назад

    So your hosting a cloud key on your own server? Why would you be doing that? I mean are you charging a monthly maintenance fee to all your hosted clients? And how do you get the datacenter where your hosting this machine to install the cloud key?

  • @playtime5423
    @playtime5423 3 года назад

    Awesome 👍🏼👍🏼

  • @JohnnyLai
    @JohnnyLai 3 года назад

    Can you make a similar video with AWS lightsail

  • @wimrotor
    @wimrotor 3 года назад

    Hi Chris, thank you.
    I was able to install a hosted controller and imported all of my previous sites using a backup.
    Today I want to add my first new remote site, but while doing the SET-INFORM command on that device (U6-LR), it mentions "server rejected", and it seems like no new device is pending in any of my already wording sites on the same hosted cloud controller.
    Did I forgot something? Thanks !

    • @wimrotor
      @wimrotor 3 года назад

      Found the solution:
      As it turns out that unifi device used to be connected to 1 of the sites, which I didn't use anymore.
      I first had to delete the - unreachable - device (since that site is hosted on a different controller), is working now :)
      Just wanted to add this info, in case someone has same issue

  • @senaldeva
    @senaldeva 3 года назад

    How do you make a SSL certificate to work on a unifi controller running on Rpi ?

  • @linuxkidd
    @linuxkidd 3 года назад

    SSH Port should not be above 1024. This is because non-root users can open ports 1024 and above, but cannot open lower ports. Thus, if someone takes over your node but has yet to achieve full root access, they could replace your SSH server with a nefarious one, wait for you to log in and have commands run via your sudo enabled account. Please don't recommend higher ports as "more secure" for this use case.

  • @davidanderson2436
    @davidanderson2436 3 года назад +6

    Great video - any plans to add a part 2 for how to setup different locations and actually control remote devices that are not on the same local LAN as the hosted server?

    • @AUserCAAP
      @AUserCAAP 2 года назад +4

      I have the same request, how does the remote server can see my LAN to add Unifi products?

  • @NicksMind21
    @NicksMind21 Год назад +1

    The video is 2 years old, but I would skip parts 18 and 19 (32:50) the rest of the video is still great. Glennr in the UniFi community has written scripts that work very well. If you follow parts 18 and 19, you will run into many current day dependencies with MongoDB, LibSSL, JDK. I would post a link to the post, but then my comment gets automatically deleted.

  • @mlugggy
    @mlugggy 2 года назад +1

    i think you missed an important step - adopting a remote device

  • @Soda88
    @Soda88 3 года назад +7

    You should probably test logging in with a new user before disabling root access in case you lose connectivity with the server

    • @JasonFritcher
      @JasonFritcher 3 года назад +1

      And test the sudo access as well, otherwise you may find yourself root-less if something didn't work right.

  • @AaronMcHale
    @AaronMcHale 3 года назад +8

    Really nice guide there Chris!
    Just a couple of thoughts from my own perspective as an IT professional:
    My personal opinion is that changing the SSH port probably is just more hassle than it's work, because once you have only public/private key authentication enabled, even if someone does discover your server, it would be practically impossible for them to get it (with current compute power, as long as the SSH key is strong enough).
    Nice touch on restricting SSH (and other ports) to only specific IP Address ranges :) but it's worth noting that most people won't have a static IP Address assigned by their ISP at their home, due to the global IPv4 shortage, ISPs are typically only giving out static IP Addresses for people on business plans and using dynamically assigned IPv4 addresses for the majority of their home (and even business) customers. I'm in that exact position with my own ISP where my public IP Address changes frequently. So I would add a warning to only do that unless you know you're only going to be working from a static IP Address.
    With the Swap file, in the video you allocated 4GB, which is a good size, but I could totally see someone getting a cheap VPS that has say only 2GB or 4GB or 6GB of storage, and then having a swap file which could be larger than the amount of available storage they have, so worth noting that it should be small enough that's it doesn't have the potential to eat up all of the available storage.
    Small note, when you install UniFi, because you just added a new repository to Apt, this time apt update would be required, otherwise trying to install UniFi without the apt update would likely give an error since it wouldn't have known about the repository we just added. I thought I'd mention that because, just before installing UniFi, you mentioned that you don't need to run Apt update with every Apt command, which is true except for in this case.
    One last tiny thing, in the cron.daily file for updating the Let's Encrypt certificate, instead of #!/bin/bash, a more platform independent method would be "#!/usr/bin/env bash" (or even "#!/usr/bin/env sh" if you want to be even more platform independent). Again, this is a really minor thing, but it just means that in the event the Bash binary isn't at /bin/bash (some systems might have it as /usr/bin/bash for example) there's no risk of errors being thrown up.
    Like I said, great guide there overall, really well done :)

  • @FinderX
    @FinderX 3 года назад +5

    Nice ! now the only thing is missing is adopting remotes devices to this new hosting controller.

    • @Jiggs224u
      @Jiggs224u 3 года назад +2

      Yep, you just need to use set-inform on the devices before they are deployed or shipped out so they know where home base is. Google set-inform unifi and you'll be good to go.

  • @thbe51
    @thbe51 3 года назад +6

    With Chris, this can't go wrong. Many thanks!!

  • @DavidOraha
    @DavidOraha 3 года назад +3

    To further secure, you can also lock down to Ubiquiti's ASN. For instance Instead of allowing ports to the whole internet, can specify the required IP range for Ubiquiti its 192.76.255.0/24. Mitigates your attack surface :) Really awesome vid Chris as always bud.

  • @rsmakishi
    @rsmakishi 3 года назад +4

    Some extra tips for Putty:
    1. To paste a text in Windows clipboard to Putty just left click in the Putty window, I use to copy commands with enter applied.
    2. To copy text form Putty to the Windows clipboard just select the text in Putty.
    3. You can also save the username in the putty saved session, it’s in Connection-Data.

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад

      Good tips! Though, I don't typically save usernames or passwords due to security.

  • @DPCTechnology
    @DPCTechnology 3 года назад +4

    Great Guide! Thanks for putting this and the blog together!

  • @pb4163
    @pb4163 3 года назад +1

    just FYI as of the latest windows 10 update there is now a built-in ssh client that is enabled by default. So you can ssh directly from the command prompt and you don't need to worry about using putty-gen, it was something sneaky MS did recently, but I will say it works great.

  • @matthewgilbride8212
    @matthewgilbride8212 3 года назад +2

    I have a UDM (not the pro) which won't update the firmware or controller past the one it shipped with. I can't even force it. Any advice?

  • @asilvi90
    @asilvi90 2 года назад

    as of 18/10/2021 when installing unifi i get this
    E: Unable to correct problems, you have held broken packages.
    The following packages have unmet dependencies:
    unifi : Depends: mongodb-server (>= 2.4.10) but it is not installable or
    mongodb-10gen (>= 2.4.14) but it is not installable or
    mongodb-org-server (>= 2.6.0) but it is not installable
    Depends: mongodb-server (< 1:4.0.0) but it is not installable or
    mongodb-10gen (< 4.0.0) but it is not installable or
    mongodb-org-server (< 4.0.0) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    has anyone seen this before?

  • @DonGerico
    @DonGerico 3 года назад +1

    How do we go about securing the controller when we have a dynamic IP address from our ISP?

  • @paulschafer8780
    @paulschafer8780 2 года назад

    following instructions here everything goes well until the change of the port 22 step. I comment out that line, change it to 2222, save, reload, and then open a new session. When trying to login with the updated port 2222 and the FQDN, it gives me a Network timed out error. any thoughts on what may be missing there?

  • @philnutman5902
    @philnutman5902 2 года назад

    I'm Struggling with this, I used the old guide no problem but this guide my Vultr is refusing a connection once the ssh port has been changed away from 22.

  • @AlexandreMorato71
    @AlexandreMorato71 Год назад

    Hi Chris. Thanks for this amazing guide. Do you plan a newer guide for 2022?

  • @CJB_B95L
    @CJB_B95L Год назад

    I am dying inside. I have the controller all set up and working but cannot for the life of me get my access points to connect. I was able to ssh into one after resetting and performing set-inform to new controller but it just does not show up to adopt. I'm using an Edgemax router with firewall set up. Do I need a new rule set?

  • @sspringall
    @sspringall 3 года назад +1

    It would be good to use the Let's Encrypt cert on Cockpit as well.

  • @NixTeam1
    @NixTeam1 3 года назад +1

    There is no purpose to deploy hosted controller, what if internet connection go down, you can’t do anything with your UniFi network. Even check the WAN. But if you have internal controller, you will be able to connect to it from outside of the network.

    • @innermotion7
      @innermotion7 3 года назад

      Your statement contradicts itself. smh, there is a time and place for local and cloud. We use both, but most of our client sites sit on a cloud servers.

    • @mikesmith-ek1il
      @mikesmith-ek1il 3 года назад

      What are the advantages of setting it up like shown in the video? - new guy

  • @DAllen0214
    @DAllen0214 3 года назад +4

    Love these vids. Would really love to see what the differences are for self hosted controllers as I would love to set one up on my own server rather than paying for cloud hosting.

    • @marcusone1
      @marcusone1 3 года назад

      Not really any difference. You can follow this guide on any local machine by installing ubuntu (into a vm using Vmware, virtualbox, proxmox, whatever). You can skip the lets-encrypt stuff if you plan to only access the controller locally (which is what I do for my home). You can also skip connecting it to Ubiquity servers if you don't care to access via Ubiquity web/apps.

    • @DAllen0214
      @DAllen0214 3 года назад

      @@marcusone1 I would like to access from anywhere and be able to adopt devices from other sites

    • @marcusone1
      @marcusone1 3 года назад

      @@DAllen0214 you need to forward ports in your firewall to your internal controller, all simple. you may not want to do that until you get a better handle on firewalls, routing, security.

  • @sentinelace
    @sentinelace 2 года назад

    what if you are locking down with site to site VPNs?

  • @durohr232
    @durohr232 Год назад

    Linux makes the whole process so complicated (as always).

  • @israelcortez7945
    @israelcortez7945 3 года назад

    how can I make a login in ubuntu using Mac Terminal with RSA key?

  • @pasatiempotony
    @pasatiempotony 3 года назад +2

    Great video as always. Excuse a dumb question, but at the beginning you show a starter kit that includes a cloud key device. Would I need or want a cloud key if I am running a Unifi controller from an Ubuntu server? I'm off to buy you a beer my friend!

    • @Klementoso
      @Klementoso 3 года назад

      No, a CloudKey is useless if you already have your own controller running. Unless it’s the Gen2+ and you use it for protect, access or talk.
      I have a few clients who run a CloudKey Gen2+ for Protect. Except for 1 all are controlled by my self-hosted UniFi controller. I only migrated that single client to their own CloudKey because of better guest portal performance.

    • @pasatiempotony
      @pasatiempotony 3 года назад

      @@Klementoso So the use case for cloud hosting is what? Why not just deploy a cloud key locally? Is it just for shops that want to manage multiple Unifi deployments from the same controller? Thanks!

    • @Klementoso
      @Klementoso 3 года назад +1

      @@pasatiempotony I have around 50 sites in my UniFi controller at the moment. That’s around 10 grand saved on cloud keys right there! On demand I do installs with CloudKeys, but customers usually prefer to save a few bucks.
      The self-hosted controller predates the cloud keys, which are mainly there for protect. I like to keep everything in 1 controller, just better for switching between customers.
      I used to sell gen1 cloudkeys, but they regularly corrupted itself during power outages. Ofcourse that’s solved with gen2, but at over double the price... I can rent a server for 15 to 30 months for every CloudKey I don’t use. And how about offsite backup?
      Oh and about 80% of my Linux knowledge I gained through fiddling around with my controller :)

    • @pasatiempotony
      @pasatiempotony 3 года назад

      @@Klementoso Ah, that makes perfect sense, thank you for clearing that up for me.

  • @mjbates
    @mjbates 3 года назад +1

    Could I lock down 3478/udp and 8080 to just the sites this controller is controlling (like how you've locked down ssh port) or does the inform get passed through unifi servers?

    • @Klementoso
      @Klementoso 3 года назад +1

      You can definitely do that, but I wouldn’t do it unless you have a static ip at the location where your UniFi gear is installed. You could ofcourse also use VPN to encrypt this data.

    • @mjbates
      @mjbates 3 года назад

      @@Klementoso Great, Thanks!

  • @studiotwo
    @studiotwo 3 года назад +1

    Q: Why do you disable root and Password Authentication before testing the certificate login? I'm still not confident to set up the key pair for fear of locking myself out.

    • @davidsease8203
      @davidsease8203 3 года назад +1

      Follow the directions and you will not have an issue. I just completed it myself.

  • @Timichaud
    @Timichaud 3 года назад +1

    Next part a secure UNVR on separete VLAN vs cameras vs user? Thank you for those nice and clear videos!

  • @tim_biller
    @tim_biller 3 года назад +1

    Chris - excellent guide - thank you very much. This will keep me quiet for a little while. I normally use Linode but happy to look at Vultr as well.
    Will you be creating further videos on the best way to adopt and manage devices at remote sites into the cloud controller?
    Thanks again, Tim

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад +4

      Glad you enjoyed it - I am planning a full re-vamp of my UniFi setup videos this year.

  • @sergejkravchenko6741
    @sergejkravchenko6741 3 года назад +1

    what to do in case of dynamic ip address?

  • @marcusone1
    @marcusone1 3 года назад +1

    Super complete guide, well done! Perhaps a dumb/noob question: how does one add a new device to a controller not on the same network (i.e. this new cloud controller)?

    • @kristianfaller290
      @kristianfaller290 3 года назад

      You would have to set the inform URL to the controller site. Haven't done this myself, but I guess others can point you to the exact steps.

    • @marcusone1
      @marcusone1 3 года назад

      @@kristianfaller290 far as I can find, you have to ssh into each individual device (even when new) and set the inform URL :(
      Tried the Chrome thing, but that doesn't let you set anything.

  • @soufilms
    @soufilms 3 года назад

    This is some great guidance thank you so much, for those who stuck at the step for digital ocean in regards to ssh-copy-id do the following:
    Log in as root
    Edit ssh config:
    sudo nano /etc/ssh/sshd_config
    Change this line:
    PasswordAuthentication no
    to
    PasswordAuthentication yes
    Restart daemon:
    sudo systemctl restart sshd
    Do ssh-copy-id:
    ssh-copy-id someuser@
    Revert changes to ssh_config if you are security conscious and restart daemon.
    P.S. To Author, can you please give a guidance on how to set the same certificate for cockpit application?

  • @pinkfrankenstein
    @pinkfrankenstein 2 года назад

    Thanks for the informative video and article.
    My only hurdle, and it took a while to figure this out, is that my webhosting service doesn't accept Let's Encrypt certificates.
    So I either have to change my hosting service or get another domain name it seems.

  • @albinesbrazelton9649
    @albinesbrazelton9649 3 года назад

    I just watched you video Definitive Guide to Hosted Unifi 2021 and I choose to use Digital Ocean. After my account was set up, they locked me out and kept my money. Wow. I guess I should haver used Vultr or AWS.

  • @JasperWaale
    @JasperWaale 3 года назад

    Ok, Q. I been running controller for some time in Docker in my synology, ( you got me on the unifi systems ) if I was to move this away and into a stand-alone option is that the Unifi key? I don't want "off site hosted" solution, might be silly Q. but don't look to find a clear answer, is all as simple as getting a Cloud Key, and what functions do I lose, I'm asking as have issues with DHCP when some parts of network go offline

  • @wayneflittner4970
    @wayneflittner4970 2 года назад

    This is a great step by step. I've had my own hosted controller set up now for several months. Although I'm having trouble with the auto backup. Can't seam to find the auto backup folder in the usual /var/lib/unifi/backup/autobackup location. Is this because when we connect via ssh we aren't actually root? I thought we had set up via the document and the video that the user created has root permissions. Any chance of doing a video on how to manage these backup and save to a Synology offsite? Willie Howe actually has a video on saving to the Synology. However he uses root.

  • @kevinxxx1387
    @kevinxxx1387 3 года назад

    I first watched your videos after I bought an Edgerouter X and AP-AC LITE.
    There's been a lot of water under the bridge (and some over it) since then, and now I'm installing a new Unifi controller.
    I'm glad to see this; I'll watch it again tomorrow and git-er done.
    I'll buy you a beer when I can. God bless you.

  • @jamiealite
    @jamiealite 3 года назад

    I'm looking to upgrade my current routers from google mesh to ubiquiti for my house. I see that they now have udm pro. Do i need that cloudkey anymore or is that only used for multi client options now. I'm thinking of buying the udm pro a 24 port poe switch and a couple access points my house is no bigger then about 800sqft. could i possibly get some feedback from you on this i don't want to purchase the wrong stuff thanks

  • @eddytrochez
    @eddytrochez 3 года назад

    I have the 2GB RAM server and I keep getting an out of memory message and the controller keeps restarting. Anyone has an idea of what is going on?

  • @bilbp41
    @bilbp41 3 года назад

    I would like to buy the 4G security doorbell as I have a unified protect system however we can’t seem to get it in Europe or the UK can I still buy it from the American store and would it work many thanks from David

  • @EngineerWilky81
    @EngineerWilky81 3 года назад

    I've done a similar setup using AWS EC2 for hosting my UniFi controller on a t2.micro. One thing I like about AWS is that you can setup the virtual machine where a password isn't used, but a SSH key instead. Can't log in with a password to the virtual machine, so have to always use the SSH key. I feel that using SSH keys are more secure than passwords, so I didn't have to worry about the password part of the setup process to secure the passwords or ability to login with a password.
    It's worked great and I've got my mother's network setup as a site on there along with my home site. I chose not to buy a cloud key when I got into the Ubiquiti ecosystem. I like this setup more because I can get notifications and if the notifications are for all devices on my network, then I know that either the internet is out or the power has gone out. Once I get a UPS for my network cabinet, then I'll know that it'll most likely be a internet outages.
    The only thing that took a bit of time to get working properly is getting the LetsEncrypt SSL it auto renew every 3 months so I wouldn't have to do the renewal manually every 3 months.
    Loved how easy the setup for the UniFi controller was on Ubuntu and the update process is fairly simple as well. I've had very few issues with my setup.
    Overall great tutorial for those what are looking to want to play around with the UniFi controller and don't have a cloud key, don't have a cloud key or they were on of the ones affected by the updated Cloud Key Gen 2+ firmware update that removed the multisite feature from the controller.

  • @justintemp
    @justintemp 3 года назад +1

    Can you tell me where to get the design for that wall?

  • @ricardoantonioroquerodrigu2498
    @ricardoantonioroquerodrigu2498 3 года назад

    Hi, excelent video, everything was going ok until i tried to verify the status of unifi service, i got failed insted of avtive with this message " some journal files were not opened due to insufficient permissions." can you help me?

  • @davidsease8203
    @davidsease8203 3 года назад

    Can you provide instructions on how to block or redirect access to the "Apache2 Ubuntu Default Page" when the URL unifi.example.com is entered?

  • @brugle1973
    @brugle1973 3 года назад

    Hoi. Thanks for all the good videos. I'm wondering if you can do a video on how to solve IPTV with Ubiquiti eq.

  • @carlosnapoles928
    @carlosnapoles928 3 года назад

    Hey Chris!! thank you so much, I have everything working but when I enable ufw cannot access t the controller, any suggestions?

  • @ItsEdSilha
    @ItsEdSilha 3 года назад

    This is a great video but the question still hanging in the air is how do you use it? How do I set up brand new equipment at a remote site using a hosted controller? The only answers I’ve been able to come up with seem rather daunting in which case the cloudkey just seems like the no brainer option.

  • @belaircomputerguyllc4001
    @belaircomputerguyllc4001 3 года назад

    Excellent videos, one of my favorite channels. Hey, since you're a big Unifi fan, what is your response to all the hate the UDMP gets? I also run pfsense, but I'm seeing a tremendous amount of bad press surrounding the stability/reliability of the UDMP. I realize it may not have all the features pfsense has, but what's so bad about it?

  • @1gsander
    @1gsander 3 года назад

    I see some similar comments here but want to add my name to this wish list. I would like a video about how to use this hosted Unifi to set up and maintain multiple remote clients. Thanks for this great video.

  • @wayneflittner4970
    @wayneflittner4970 3 года назад

    Great video. Although I'm stuck because I am trying to do this on a Mac with terminal. I'm not aware of the process to use the public/private keys. If anyone can point me in a direction that would be great.

  • @gvsc1987
    @gvsc1987 3 года назад

    Cannot wait to do this .... did a UniFi install for my old church and have been trying to figure out a way to do this for my own home network. Thanks!!

  • @vijgai3
    @vijgai3 3 года назад

    Very detailed. Thanks.
    I followed the guide to the letter except using a script from the Ubiquiti forums to set up the controller.
    Working fine on Linode as well.

  • @FabrizzioSoares
    @FabrizzioSoares 3 года назад

    I was wondering if Dream Machine can be used with captive portal

  • @ngreed
    @ngreed 3 года назад

    Great Video, I was just thinking of setting up a hosted instance of Unifi on my TrueNAS box. When I do I will follow this guide for sure. Thanks for taking the time to make it.

  • @stiibunyozomita3536
    @stiibunyozomita3536 3 года назад

    Great video as always Chris. 👍
    Maybe an idea for another video. You have two Pi’s running Pihole, and I suspect you keep them in sync so that you only need to change things or black-/whitelist sites on one device and it syncs to the other automatically.
    Can’t remember if you ever mentioned this in one of your videos on how you keeps them Pi’s in sync.

  • @loobster4980
    @loobster4980 3 года назад

    Great as always Chris. Got up to v6.1.71 ready for the U6 devices!

  • @jutsco
    @jutsco 3 года назад

    This tutorial is great. Just small tip with FW rules. When you take those in use add temporarily to the crontab or with "at" command sudo ufw reset. Then you are in safe side if the rules doesn't work and you don't have to go under the hood via console to fix the problem.

  • @MrGUYSTYLAZ
    @MrGUYSTYLAZ 3 года назад +1

    Fantastic guide, thanks Chris!

  • @olafcreed4726
    @olafcreed4726 3 года назад

    I wish there was a guide for a local controller controlling multiple sites.

  • @killerskincanoe
    @killerskincanoe 3 года назад

    Any guides for updating your self hosted controller?

  • @roblucas1769
    @roblucas1769 3 года назад

    Great video (as always). Question, looking at deploying this cloud solution in the UK for multiple small home users, but how many sites (or customers) can you host on the one controller? Loving the work keep it up.

  • @OleSchmitto
    @OleSchmitto 3 года назад

    Great guide.... I already have a Google UniFi controller, but changed to using local controller on 3 x networks with, UDM-pro, UDM and Cloudkey 2. Would it make sense to move those 3 networks to the centralize controller rather than using the local controller included in the mentioned devices?

    • @OleSchmitto
      @OleSchmitto 3 года назад

      Forgot to mention I running Protect on the UDM-Pro and Cloud Key, but I assume I can keep this running by itself locally on each network, if the cloud controller make sense

  • @tornadotj2059
    @tornadotj2059 3 года назад

    Looks like you got your paint from David over on 8 Bit Guy. :)

  • @jaredgunn9636
    @jaredgunn9636 3 года назад

    So those who followed the old guide... how can we transition our existing installation to Ubuntu 20.04? I'm guessing I can just run a command to update ubuntu itself

    • @seanwoods1526
      @seanwoods1526 3 года назад

      Make a backup of your config then look at the following ubuntu.com/blog/how-to-upgrade-from-ubuntu-18-04-lts-to-20-04-lts-today

  • @torbjrnfjeld1799
    @torbjrnfjeld1799 3 года назад

    Great stuff! Thank you for yet again a helpful video! Enjoy some beers... 😉

  • @randomicon918
    @randomicon918 3 года назад

    This is the best walkthrough yet! Thanks so much. I've tried to get through a setup in linux previously and got completely lost. But behold, it's running now! Thanks!

  • @timramich
    @timramich 3 года назад

    Right clicking pastes in putty

  • @LaneLarson
    @LaneLarson 3 года назад

    Thank you for the write up and video! I've been needing to improve my practices for a while now. This is just what I needed.

  • @RETRO-CONSOLE-GAMER
    @RETRO-CONSOLE-GAMER 3 года назад

    well put chris , fully agree ,

  • @SimonLally1975
    @SimonLally1975 3 года назад

    Thank you very helpful.
    Keep up the great step-by-step guides ;)

  • @AllenSchuenke1993
    @AllenSchuenke1993 3 года назад

    I like what you did to the wall with the circuit

  • @scockman
    @scockman 3 года назад

    Awesome Chris! Always a pleasure checking out your videos. I will go through the guide and put it my new Proxmox server and free up the Pi that it is currently on for another project. Like the circuit lines on the wall behind you. Is it painted or are you using some sort of tape for the lines?

  • @metsys1
    @metsys1 3 года назад

    Installation started at 32:41

  • @timramich
    @timramich 3 года назад

    Hehe sudu

  • @n5eg
    @n5eg 3 года назад

    While I don't have any Unify equipment, this is still a great guide for bringing up a cloud host and hardening it.
    Just curious, how does one tell the hosted Unify controller to look on your home LAN for devices ?

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад +2

      If you set up DHCP Option 43 on your LAN, it will tell your UniFi devices where to check for the controller. Or, you can SSH in and manually tell them where to 'inform.'

    • @Klementoso
      @Klementoso 3 года назад

      @@CrosstalkSolutions in EdgeOS there’s even a UniFi controller field in DHCP-server setup (ofcourse this is indeed option 43 under the hood).
      If you have a USG devices will also automatically be discovered.

  • @acassels24
    @acassels24 3 года назад

    Great guide. For step 11 is there an option to enter a FQDN rather than an IP address? I ask because I don't have a fixed IP address at home and don't want to get locked out when my ISP updates my IP address

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад +1

      Good question - I don't *think* so...last I checked the ufw rules could only be IP.

    • @Klementoso
      @Klementoso 3 года назад

      I get around this by a small script and Cloudflare DDNS. DDNS updates Cloudflare records from my EdgeRouter. On my controller there’s a script that checks 1.1.1.1 for changes to the DDNS domain every 5 minutes. If a change is detected it updates UFW. Since Cloudflare makes changes to records instantly available on their public DNS-servers it will almost always work.
      Have used it for over a year and I’m always able to access my controller, even through multiple IP changes.
      You can also setup a Pritunl server in DO or VULTR and whitelist the static ip you get with your VM. I use this method for remote management of EdgeRouters, because I haven’t found a simple way to do the same trick I do on my controller with the DDNS thingy.

  • @MirkWoot
    @MirkWoot 3 года назад

    Thanks for sharing. It would be nearly impossible to remember all this. This is something I really want to try out, having a single hosted unifi with multiple sites. Now just need to find video with how to add devices... also, i am curious if I need a USG on each physical site to make it work?.

    • @CrosstalkSolutions
      @CrosstalkSolutions  3 года назад +1

      No you do not need a USG at all for this - you can use whatever firewall you want, and the hosted controller will still work the same. (Minus the fact that you won't have access to any of the firewall features such as DPI and IDS).

    • @MirkWoot
      @MirkWoot 3 года назад

      @@CrosstalkSolutions Great :). Got all up and running following guide 👍 devices adopted and all. I run Pfsense infront, indeed no problem. I would like to try to have the full setup sometime with USG + switches, to have the full experience.
      I worried about locking myself out of ssh eventho I have permanent wan IP, but i see vultr ofc gives you console access, so will go lock that down.
      Now I can go retire an controller on a site :).

  • @bizzfo
    @bizzfo 3 года назад

    Ahh! Java!

  • @crizz6397
    @crizz6397 3 года назад

    Wow that was a lot of information

  • @justsomeguy9952
    @justsomeguy9952 3 года назад

    bruh use MobaXterm. Good video though

    • @112Haribo
      @112Haribo 3 года назад

      bruh use Microsoft Terminal, with a Ubuntu 20.04 distro from the Microsoft Store, running on WSL2.

  • @justintemp
    @justintemp 3 года назад

    Nice!

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 3 года назад

    Thanks a bunch!

  • @mrxmry3264
    @mrxmry3264 3 года назад

    why use a controller in the cloud instead of a cloudkey?

    • @remixedMind
      @remixedMind 3 года назад +2

      why use cloud key insted of raspberry pi

    • @Wahinies
      @Wahinies 3 года назад

      @@remixedMind my only reason is not having to deal with JRE :D

    • @remixedMind
      @remixedMind 3 года назад

      @@Wahinies but you deal with the firmware, ubnt blockt multi site on the cloud key and force you to use cloud account i dont that problem ot the pi

    • @mrxmry3264
      @mrxmry3264 3 года назад

      @@remixedMind
      because i need my pi for other things.

    • @remixedMind
      @remixedMind 3 года назад

      @@mrxmry3264 get onther one, i have a supermicro proxmox server and varios pi's, for my need its working great

  • @husbeard
    @husbeard 3 года назад +2

    Well, I haven't ever set up my own FQDN, so this guide is not definitive for me. Anyone have a link on how to do that? I mean, I can go GoDaddy and buy one, and potentially set it up, but I don't know the best way (or cheapest).

    • @6toeNL
      @6toeNL 3 года назад +1

      Just buy a domain as cheap as you can and point an a or aaaa record of a sub domain to either your ipv4 or ipv6 address

    • @husbeard
      @husbeard 3 года назад

      @@6toeNL to my home IP address? I can update that when it changes (infrequently).

    • @6toeNL
      @6toeNL 3 года назад

      @@husbeard yep! And yes you can change that once your ip changes. Or you create a dyndns domain and you forward your own domain via a cname record to your dyndns. Then you don’t have to change your dns records when your ip changes