50 lines
947 B
TOML
50 lines
947 B
TOML
# 复制为 frpc.toml 并把 token 换成真值(Bitwarden「frp home-tunnel」)。
|
||
# frpc.toml 含密钥,不入 git(部署由 scripts/setup-frp-remote.sh 自动完成)。
|
||
serverAddr = "182.92.213.171" # ali 北京(frps)
|
||
serverPort = 7000
|
||
auth.method = "token"
|
||
auth.token = "<Bitwarden: frp home-tunnel>"
|
||
transport.tls.enable = true
|
||
|
||
[[proxies]]
|
||
name = "git-ssh"
|
||
type = "tcp"
|
||
localIP = "127.0.0.1"
|
||
localPort = 2222
|
||
remotePort = 2222
|
||
|
||
[[proxies]]
|
||
name = "git-web"
|
||
type = "tcp"
|
||
localIP = "127.0.0.1"
|
||
localPort = 3000
|
||
remotePort = 3000
|
||
|
||
[[proxies]]
|
||
name = "dsm"
|
||
type = "tcp"
|
||
localIP = "127.0.0.1"
|
||
localPort = 5001
|
||
remotePort = 5001
|
||
|
||
[[proxies]]
|
||
name = "nas-ssh"
|
||
type = "tcp"
|
||
localIP = "127.0.0.1"
|
||
localPort = 22
|
||
remotePort = 10022
|
||
|
||
[[proxies]]
|
||
name = "win-rdp"
|
||
type = "tcp"
|
||
localIP = "192.168.3.88"
|
||
localPort = 3389
|
||
remotePort = 3389
|
||
|
||
[[proxies]]
|
||
name = "win-ssh"
|
||
type = "tcp"
|
||
localIP = "192.168.3.88"
|
||
localPort = 22
|
||
remotePort = 10023
|