域名解析:
我使用的是 DNSPOD, 直接增加 ftp 和 *.frp 的解析
服务端增加主域名配置:
subdomain_host = 123.com
客户端配置:
实际访问地址为 *.frp.123.com
详细如下:
[common] server_addr = 123.com server_port = 5443 privilege_token = token [file] type = http local_ip = 192.168.123.1 local_port = 888 subdomain = file [ssh] type = tcp local_ip = 192.168.123.1 local_port = 22 remote_port = 222 [aria] type = tcp local_ip = 192.168.123.1 local_port = 6800 remote_port = 6800 [pd-https] use_encryption = true use_compression = true type = https local_ip = 192.168.123.1 local_port = 443 subdomain = pd [pd-http] use_encryption = true use_compression = true type = http local_ip = 192.168.123.1 local_port = 80 subdomain = pd