Code Monkey home page Code Monkey logo

unifi's Introduction

Unifi控制器

Unifi AP控制器,使用alpine制作最小镜像

端口说明

L3&L2端口

端口 介绍
80/tcp HTTP服务
443/tcp HTTPS服务
6789/tcp 控制器测速
63010/udp STUN
63011/tcp HTTP portal 服务
63012/tcp HTTPS portal 服务

L2端口

端口 介绍
10001/udp Port used for AP discovery
1900/udp Port used for "Make controller discoverable on L2 network" in controller settings.

官方端口说明

UniFi - Ports Used

使用

目录介绍

/unifi 主程序目录 /unifi/data 数据目录 /logs/server.log Unifi日志文件 /unifi/logs/mongod.log MongoDB日志文件

二层采用

docker run -itd --name unifi --network host angdo/unifi

三层采用

docker run -itd --name unifi \
    -p 80:80 -p 443:443 \
    -p 6789:6789 -p 63010:63010/udp \
    -p 63011:63011 -p 63012:63012 angdo/unifi

控制器inform地址 http://ip/inform

官方三层采用介绍 UniFi - Device Adoption Methods for Remote UniFi Controllers

反向代理

Caddy配置

:80 {
  proxy /inform http://unifi_ip {
    transparent
  }
  redir 301 {
    if {path} not_match ^\/inform
    /  https://{host}{uri}
  }
  gzip
  log stdout
}

:443 {
  tls
  proxy / https://unifi_ip {
    insecure_skip_verify
    transparent
    websocket
  }
  gzip
  log stdout
}

unifi's People

Contributors

angdo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.