linux --frp内网穿透
官网
https://gofrp.org/zh-cn/docs/examples/vhost-http/
下载链接
https://github.com/fatedier/frp/releases
配置
frps.toml
bindPort = 7000 # 和frpc交互端口
vhostHTTPPort = 80 # 外部暴露端口
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "admin"
frpc.toml
serverAddr = "39.99.139.188" # frps的IP
serverPort = 7000 # frps的端口[[proxies]]
name = "web" # 自定义
type = "http" # 类别
localPort = 49158 # 内网IP
localIP = "127.0.0.1" # 内网地址
customDomains = ["39.99.139.188"] # 用户访问的IP 或 域名
transport.proxyProtocolVersion = "v2" # 获取真实IP地址