notes

View on GitHub

UDM Pro remote access

Disabling

Login on directly on the box, since you cannot disable remote access while using it!

REMEMBER: You need to use the “Ubiquiti Account” user, since the option is NOT available for local users.

  1. Goto Settings -> System
  2. Flip the Remote Access toggle

Done!

Enabling

Login directly on the box, since remote access is probably disabled!

REMEMBER: You need to use the “Ubiquiti Account” user, since the option is NOT available for local users.

  1. Goto Settings -> System
  2. Flip the Remote Access toggle

It will ask for username/email, password and 2FA, so have those ready.

Done!

Create local user

  1. Goto Users
  2. Click Add User
  3. Choose Role to be Administrator
  4. And Account Type to be Local Access Only
  5. Fill in First Name, Last Name, Local Username and Local Password
  6. Click Add

This is now a user that can login locally, without having to authenticate against unifi.ui.com.

Port-forwarding crap

Install on-boot

on-boot-script-2.x

The description suggests curl’ing a file directly to sh, but I would recommend this:

wget https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/HEAD/on-boot-script-2.x/remote_install.sh

Look thoroughly through the remote_install.sh script. Only then:

chmod +x remote_install.sh
./remote_install.sh

This adds some scripts to install SNI plug-ins. Don’t know what that is for, so remove them:

rm /data/on_boot.d/*

Install on-boot (legacy)

on-boot-script

Every time the UDM has been upgraded:

  1. Get into the unifios shell on your udm
unifi-os shell
  1. Download udm-boot_1.0.5_all.deb and install it and go back to the UDM
curl -L https://github.com/unifi-utilities/unifios-utilities/raw/main/on-boot-script/packages/udm-boot_1.0.5_all.deb -o udm-boot_1.0.5_all.deb
dpkg -i udm-boot_1.0.2_all.deb
exit

Take control of those noisy fans…

ubnt-fan-speed

Old, but still works on UnifiOS 2.4.x