Administrator
发布于 2024-06-27 / 77 阅读
0
0

Frps & frpc config

#frpc.toml
serverAddr = "your remote ip"
serverPort = 7000
auth.method = "token"
auth.token = "frpc server auth pwd"

[[proxies]]
name = "test-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000

[[proxies]]
name = "frp_http"
type = "http"
customDomains = ["xxx.xxx.cn"]
localIP = "0.0.0.0"
localPort = 8000

#frps.toml
bindAddr = "0.0.0.0"
bindPort = 7000

auth.method = "token"
auth.token = "frpc client auth pwd"

webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "panel pwd"

vhostHTTPPort = 80
vhostHTTPSPort = 443

# tls
#transport.tls.force = true
#transport.tls.certFile = "/etc/frp/ssl/server.crt"
#transport.tls.keyFile = "/etc/frp/ssl/server.key"
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"


评论