一个基于 frp 开发的本地服务发布工具, 它把 frp 的安装配置生成和服务管理收进一个多端统一的客户端, 适合把本机 Web、TCP 或 UDP 服务发布到自己的公网服务器。
curl -fsSL https://raw.githubusercontent.com/cclilshy/tayd/main/scripts/install-server.sh | sh自定义hostname
当http(s)端口被声明时, 允许多个服务占用服务端http端口, frp会根据host进行路由
curl -fsSL https://raw.githubusercontent.com/cclilshy/tayd/main/scripts/install-server.sh | sh -s -- <server-hostname> #--http-port 80 --https-port 443服务端安装完成后会打印客户端安装命令
添加第一个映射
tayd add web 8080 18080访问
http://<server-hostname>:18080 -> 127.0.0.1:8080
Android 客户端在 frpc 页面点 Scan server QR, 扫描成功后自动完成配置
| 模块 | 用途 |
|---|---|
| FRPC | 内置 frpc 客户端 |
| WebHook | WebHook channels |
| HTTP PROXY | 本机 HTTP 代理 |
| SOCKS5 | 本机 Socks5 代理 |
| Event Listener | 事件分发 |
把本机 Web 服务暴露到公网端口
tayd add web 3000 18080用域名访问本机 HTTP 服务
tayd add site 3000 http://site.example.comUDP 服务
tayd add dns udp://5353 5353Unix:
~/.local/bin/tayd uninstallWindows PowerShell:
& "$HOME\.local\bin\tayd.cmd" uninstall
