Docs
This is the pre-release documentation that will ship with the first public version. A container image has not been published, and the source repository is still private.
How it works
Doppelport runs on a Linux host on the same network as your switch. It presents itself to a UniFi Network controller as a UniFi switch (the closest match for your hardware). You adopt that device in the UniFi GUI. After that, port changes you make there โ name, PoE, VLAN, speed, disable โ are translated and applied to the real switch over SSH.
The bridge only makes outbound requests to the inform URL you configure (an IP address) and to the switch. It does not take your UniFi account password, and it does not follow a controller-suggested inform URL unless you turn that on and the host is an IP address.
Install Image coming soon
A published container image is not available yet. When it is, the intended path is one container per bridged switch, on a host that can reach both the controller and the switch:
- Copy the example config to a local
doppelport.toml. Keep secrets out of that file: switch credentials and the state key live in separate files with tight permissions. - Set the controller inform URL to an IP literal, and set the switch driver, host and identity (or leave identity on auto).
- Start the container with host networking so the local UI stays on
127.0.0.1of the Docker host. - Open
http://127.0.0.1:8765. The login token is written todata/ui.token. - Adopt the appearing switch in UniFi. Leave apply off until you have watched it in observe mode.
You can also run the Python CLI once a release exists: doppelport check, doppelport onboard, then doppelport run. Until a release is published, there is nothing to download from this site.
Safety defaults
- New installs observe for 24 hours and apply nothing.
- Global apply and every per-feature flag start off. You turn them on in the local UI.
- Uplink, management-VLAN trunks and LLDP infrastructure neighbours are protected. Disable on those ports is refused.
- A change is saved on the switch only after a health check passes. Otherwise it is rolled back and never written to memory.
- If UniFi and the hardware disagree after a refusal, the bridge writes the real port state back so the UniFi app does not keep showing a change that did not happen.
Controller versions
Testing so far has been against throwaway Network 10.5.67, 10.6.109 and 11.0.104 controllers, plus UniFi OS Server 5.1.42. An untested controller version forces observe mode. Network 11 needs UniFi OS 6.0 or later for a supported install.
On Network 11, official self-hosting means UniFi OS Server. Schedule 3 of its terms says it may only be used to manage genuine Ubiquiti products. Using it with a third-party switch may breach those terms. Read the terms first. That risk is yours.
What is not claimed
- No Ubiquiti binaries are bundled or redistributed.
- Jumbo frames, turning STP off on a port, and IGMP snooping are not fully wired up from the UniFi GUI.
- A licence for Doppelport has not been chosen yet.
- Other PoE vendors (Aruba, TP-Link, Juniper, Netgear, MikroTik, Ruckus, Dell) are in the map only. Drivers for them are a later phase.