Notes to Self

Alex Sokolsky's Notes on Computers and Programming

View on GitHub

Proxmox Containter with Unifi Controller

UniFi Controller Ports

This is not exhaustive list.

Incoming traffic:

UniFi Device Defaults

UniFi device with settings reset:

Hence there is a benefit of having the controller on host unifi


Download container template

In Proxmox Datacenter\server\local open Template, download Ubuntu-20 container template

Create container

I used:

Upgrade Container

Usual apt update/upgrade

Download install script

Read UniFi Installation Scripts.


root@unicon:~# wget
--2020-10-24 11:44:03--
Resolving (
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149804 (146K) [text/x-sh]
Saving to: ‘’                     100%[=================================================================>] 146.29K   104KB/s    in 1.4s

2020-10-24 11:44:06 (104 KB/s) - ‘’ saved [149804/149804]

root@unicon:~# chmod a+x

Controller Setup

Point browser at https://unicon:8443

Step 1/6: Name controller: Apricot960


Update DHCP Server Option 43

Unifi L3 Adoption with DHCP Option 43

  1. Identify unifi controller host name and IP:
alex@latitude7490:~$ nslookup
> server
Default server:
> unicon

Name:	unicon.lan
  1. Use the above URL to derive a hex value for DHCP option 43: 01:04:c0:a8:0a:0b

  2. Update DHCP server setting.

Allow for root to ssh

Edit /etc/ssh/sshd_config and add

PermitRootLogin yes

and then

systemctl restart sshd

Picking the Version of the Ubiquiti Controller

Note stable here:

root@unicon:/etc/apt/sources.list.d# cat 100-ubnt-unifi.list
deb stable ubiquiti