目 录CONTENT

文章目录

frps最新版内网穿透(toml格式)

不争
2024-04-22 / 0 评论 / 0 点赞 / 120 阅读 / 1650 字

frps服务端配置

1.frps.toml

bindPort = 7000
vhostHTTPPort = 8088
auth.method = "token"
# 身份验证令牌 auth.token = “12345678”
auth.token = "12345678"
transport.tls.force = false
# 配置 Web 服务器以启用 frps 的仪表板。
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "123456"
​

2.docker启动命令

docker run --restart=always --network host -d -v /root/install/frps/frps.toml:/etc/frp/frps.toml --name frps snowdreamtech/frps

frpc客户端配置

1.frpc.toml

serverAddr = "frps.zinzin.cc"
serverPort = 7000
auth.method = "token"
auth.token = "12345678"
​
[[proxies]]
name = "ssh-树莓派"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
​
[[proxies]]
name = "web-定时签到"
type = "http"
localPort = 8924
customDomains = ["sign.home.zinzin.cc"]
​
[[proxies]]
name = "alist-网盘"
type = "http"
localPort = 5245
customDomains = ["pan.home.zinzin.cc"]
​

2.docker启动命令

docker run --restart=always --network host -d -v /root/data/docker/frpc/frpc.toml:/etc/frp/frpc.toml --name txfrpc snowdreamtech/frpc:0.57.0


0

评论区