自用 Frp 配置文档小柯2025-05-302025-06-09FRPC 配置文档serverAddr = "IP"serverPort = 端口auth.method = "token"auth.token = "密钥"[[proxies]]name = "ssh"type = "tcp"localIP = "127.0.0.1"localPort = 22remotePort = 6000## HTTP 配置[[proxies]]name = "ake_http"type = "http"localPort = 80customDomains = ["*.ake.cx"]## HTTPS 配置#[[proxies]]# name = "ake_https"# type = "https"# customDomains = ["*.ake.cx"]# [proxies.plugin]# type = "https2http"# localAddr = "127.0.0.1:80"## HTTPS 证书相关的配置# crtPath = "/root/ssl/*_ake_cx/fullchain.pem"# keyPath = "/root/ssl/*_ake_cx/privkey.pem"# hostHeaderRewrite = "127.0.0.1" Frps 配置文档bindAddr = "0.0.0.0"bindPort = 端口auth.method = "token"auth.token = "密钥"webServer.addr = "0.0.0.0"webServer.port = 端口webServer.user = "账号"webServer.password = "密码"vhostHTTPPort = 8080vhostHTTPSPort = 8443# 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"