Sign inSign up

pcarorevuelta/omada-controller

By pcarorevuelta

•Updated over 6 years ago

TP-Link Omada controller for Enterprise Access Points

Image
1

3.5K

pcarorevuelta/omada-controller repository overview

⁠Omada Controller Docker

Image sizeRAM usageCPU usage
360MB350MBLow

It is based on:

⁠Setup

  1. Create directories and set their permissions:

    mkdir -p volumenes/{logs,data,work}
    chown -R 1000 volumenes
    chmod 700 volumenes
    
  2. Run using the following command:

    docker run -d --rm \
    --name omada-controller-example \
    -e TZ=Europe/Madrid \
    --network host \
    -v $(pwd)/volumenes/logs:/omada/logs \
    -v $(pwd)/volumenes/data:/omada/data \
    -v $(pwd)/volumenes/data:/omada/work \
    pcarorevuelta/omada-controller
    

    or use docker-compose.yml⁠ with:

    docker-compose up -d
    
⁠Environment variables
Environment variableDefaultPossible valuesDescription
HTTPPORT8080Port from 1025 to 65535Internal HTTP port, useful for redirection
HTTPSPORT8043Port from 1025 to 65535Internal HTTPS port, useful for redirection
⁠Notes
  • The Omada Controller Software will only be able to find EAPs in the same network as itself. To make it work you need to use docker "host" networking and have the docker host in the same network as the EAPs. Standard network configuration with exposed ports, which creates a new network the container runs in, will not work because the controller runs in a different broadcast domain in that case.
  • You only need to set the TZ environment variable when your traffic/client graph has an offset.
  • It is useful to change the HTTPSPORT as Omada redirects you to its internal HTTPSPORT. So if you want to run the container with -p 8000:8000 for the HTTPS port, you need to set HTTPSPORT=8000.
  • From TP Link Omada's FAQ⁠, Omada controller uses the ports:
    • 8043 (TCP) for https
    • 8088 (TCP) for http
    • 27001 (UDP) for controller discovery
    • 27002 (TCP) for controller searching
    • 27017 (TCP) for mongo DB server (internally)
    • 29810 (UDP) for EAP discovery
    • 29811 (TCP) for EAP management
    • 29812 (TCP) for EAP adoption
    • 29813 (TCP) for EAP upgrading

⁠TODOs

  • Allow set user/group for running
  • Instructions with proxy and port redirection

Tag summary

Content type

Image

Digest

Size

156.6 MB

Last updated

over 6 years ago

docker pull pcarorevuelta/omada-controller