Noeiov0.2.0
Noeio Derper

启动 Noeio Derper

使用 noeio-derp boot 命令启动 derper 中继

noeio-derp boot 用于启动 derper 中继服务,使节点能够上报地址、接收路径候选,以及在无直连路径时进行流量中继。

如果你通过 Docker 部署 derper,容器启动时会自动运行 boot,不需要手动执行此命令。详见快速开始第 1 步。

用法

Usage: noeio-derp boot [OPTIONS]

Options:
  -p, --port <PORT>      [default: 8080]
  -c, --config <CONFIG>  Config file path, defaults to ~/.noeio/derper.toml
  -h, --help             Print help

参数说明

  • -p, --port <PORT>:derper 监听的 UDP 端口,默认为 8080。如需更换端口,确保客户端配置(config.toml 中的 address)和防火墙规则与之一致。
  • -c, --config <CONFIG>:指定配置文件路径,默认读取 ~/.noeio/derper.toml。
  • -h, --help:打印帮助信息。

示例

使用默认配置启动:

noeio-derp boot

指定端口:

noeio-derp boot --port 9090

指定配置文件路径:

noeio-derp boot --config /etc/noeio/derper.toml

On this page