本帖最后由 jzpopo 于 2023-11-6 08:03 编辑
frp服务器端
[common]
bind_port = 7000
token = 123456
dashboard_port = 7500
dashboard_user = ***
dashboard_pwd = ***
vhost_http_port = 8083
dashboard_addr = 0.0.0.0
subdomain_host = aaa.com
frp客户端
[web]
remote_port = 8083
type = http
local_ip = 192.168.2.33
local_port = 8083
subdomain = web
#host_header_rewrite =aaa.com
remote这个端口是穿透的端口
local这个端口是本地默认端口
subdomain为二级域名的头
host_header_rewrite为二级域名的尾
访问http://web.aaa.com:8083 |