How to block iCloud Private Relay in UniFi
Learn how to block iCloud Private Relay in UniFi for auditing purposes
January 12, 2026

Announced in summer 2025, Ubiquiti is now supporting the self-installation of UniFi OS Server on your own hardware, meaning features previously unavailable such as Teleport VPN, UniFi Identity, Site Magic and more, are now available without the need for a Cloud Key or UniFi Dream Machine. It is supported on macOS, Windows and Linux.
Before deploying UniFi OS Server, check our guide for the supported operating systems and system requirments.
If you're looking to host UniFi OS Server, you can now do so with HostiFi.
Sign up today and get access to our fast support, regular off-site backups and managed updates.
First, SSH into your Ubuntu based system.

Then install Podman. UniFi OS Server requires Podman 4.3.1 or higher. To install run the following command.
sudo apt-get update && sudo apt-get install podman slirp4netns
Then update the packages for Ubuntu using the following command.
apt-get update
Next, check the CPU architecture of your server. If you know this already, skip to the next step. To do this run the following command.
uname -mThe result back will let you which version of the UniFi OS Server to download. In this example, it is x86_64. For this, UniFi OS Server for Linux (x64) is required.

To download, run the following command and it'll automatically download the required files from Ubiquiti. Visit Ubiquiti's download page for the latest URLs.
wget <uos_server_download_link>
Next, the downloaded file needs installing. First run the following command to check the file name.
ls
Then to make the downloaded file executable, run the following command.
chmod +x <local_path_to_uos_server_download>
Next, we need to run the installer. This can be achieved in two ways, either by running this command.
sudo <local_path_to_uos_server_download>
Or if the file has been save to root, run this command
./<local_path_to_uos_server_download>
Next, run through the installer - this process can take around 5 minutes to complete.

Once completed, it'll let you know how to access the web interface.

However at the moment, no ports are actually open, so to add those run the following commands.
ufw allow 5005,5514,6789,8080,8444,8880,8881,8882,9543,11084,11443/tcpufw allow 3478,10003/udpufw reload
Then check they are added correctly.
ufw status numbered
Then visit the web interface to check everything is working and follow through for setup. UniFi OS Server uses port 11443 for HTTPS web access.
https://<server_ip>11443
Complete the initial UniFi OS Server setup, which involves:
Finally, before adopting any new devices visit the Control Plane and update the UniFi Network application to the latest GA version.
Being able to install UniFi OS Server on Ubuntu provides easy deployment for small environments for testing purposes, but for use in production across multiple external sites it could get complicated. This is where HostiFi comes in, with fast support, global data centre presence, managed updates and regular backups.
HostiFi provides hosting for Ubiquiti software platforms, with servers for UniFi and UISP. We also offer network consulting, with HostiFi Professional Services.
No spam. Unsubscribe anytime.
Newsletter Subscriber
Newsletter Subscriber
Newsletter Subscriber