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:

  1. 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.
  2. Set the controller inform URL to an IP literal, and set the switch driver, host and identity (or leave identity on auto).
  3. Start the container with host networking so the local UI stays on 127.0.0.1 of the Docker host.
  4. Open http://127.0.0.1:8765. The login token is written to data/ui.token.
  5. 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

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

Check a switch ยท Check a controller host