This commit is contained in:
teasiu
2024-01-01 14:18:23 +08:00
parent 3077114144
commit 95c4c1e6da

View File

@@ -28,6 +28,10 @@ sudo reboot
#重新安装可能需要重启系统 #重新安装可能需要重启系统
``` ```
:::tip
FRP软件的的官方教程[FRP官方教程网站](https://gofrp.org/zh-cn/docs/)
:::
## 开通 frpc 账号 ## 开通 frpc 账号
@@ -92,8 +96,32 @@ remotePort = 21590
![](./img/frpc3.jpg) ![](./img/frpc3.jpg)
:::tip :::tip
无论你重置系统或者重新刷机海思芯片的机顶盒账号是绑定cpu的 无论你重置系统或者重新刷机海思芯片的机顶盒账号是绑定cpu的(S805盒子重置系统也不会变)
都可以在终端输入 `nasupdate` 然后输入 `kaitong-frp` 命令复通。 都可以在终端输入 `nasupdate` 然后输入 `kaitong-frp` 命令复通。
::: :::
注意:一个穿透的域名对应一个穿透的端口。
配置文件里的穿透模块示例:
```bash
[[proxies]]
name = "xxxxx"
type = "https"
subdomain = "nas-xxxxx"
#如果你有自己的域名,可以同时打开这行,你的域名要解析到frps服务器
#customDomains = ["hinas.yourdomain.com"]
[proxies.plugin]
type = "https2http"
localAddr = "127.0.0.1:80"
#如果使用自己的域名,请自行制作你的SSL替换到下面文件位置
crtPath = "/etc/frp/slitaz.tk.crt"
keyPath = "/etc/frp/slitaz.tk.key"
requestHeaders.set.x-from-where = "frp"
```
### 3.增加穿透访问其他端口的程序或者其他局域网内设备
你可以通过修改