Skip to content

Instantly share code, notes, and snippets.

@icyleaf
Last active January 11, 2021 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icyleaf/f1868ff6717131de37d2916283d15e49 to your computer and use it in GitHub Desktop.
Save icyleaf/f1868ff6717131de37d2916283d15e49 to your computer and use it in GitHub Desktop.
群晖服务端口号不完全收集

群晖服务端口号

服务 端口号 协议 备注
Web 服务(HTTP) 80 TCP
Web 服务(HTTPS) 443 TCP
DSM 服务(HTTP) 5000 TCP 默认值可修改
DSM 服务(HTTPS) 5001 TCP 默认值可修改
SSH 服务 22 TCP 默认值可修改,默认服务关闭
Files 5000 TCP 随着群晖 Web 服务变动
Video 5000 TCP 随着群晖 Web 服务变动
Moments 5000 TCP 随着群晖 Web 服务变动
Photo 80 TCP 固定值,不跟随群晖 Web 服务端口变动
Drive 6690 TCP 固定值,不跟随群晖 Web 服务端口变动

外网端口映射

从以上的服务来看只需要设置如下:

名称 外网端口 内网端口
HTTP 10080 80
HTTPS 10443 5001
SSH 10022 22
Drive 16690 6690

如果群晖 Web 服务端口号有改变 HTTP 10080, HTTPS 10443, SSH 10022 则需要专门为访问 Photo 加一个 80 的转发:

名称 外网端口 内网端口
HTTP 10080 10080
HTTPS 10443 10443
SSH 10022 10022
Photo 10081 80
Drive 16690 6690

更多接口详情参见 官方文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment