24 lines
801 B
TOML
24 lines
801 B
TOML
serverAddr = "47.109.23.162"
|
|
serverPort = 7000
|
|
|
|
auth.method = "token"
|
|
auth.token = "token123456"
|
|
|
|
# 启动命令 frpc.exe -c frpc.toml
|
|
# remotePort 允许 8080-8090 之间的端口
|
|
# 1.http://frps.binghuai.xyz:8081/
|
|
[[proxies]]
|
|
name = "web-tcp" # 代理名称(自定义,唯一即可)
|
|
type = "tcp" # 类型为 tcp
|
|
localIP = "192.168.2.40" # 本地服务 IP
|
|
localPort = 80 # 本地服务端口(您要暴露的服务)
|
|
remotePort = 8081 # 服务器映射端口
|
|
|
|
# 2.http://frps.binghuai.xyz:8088/
|
|
# [[proxies]]
|
|
# name = "web-803"
|
|
# type = "tcp"
|
|
# localIP = "192.168.2.84"
|
|
# localPort = 8082 # 另一个本地服务端口
|
|
# remotePort = 8088 # 另一个服务器映射端口
|