|
本帖最后由 qq30545 于 2017-11-23 13:49 编辑
安装:
http://koolshare.cn/thread-65379-1-1.html
域名解析:
我使用的是 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
复制代码 |
|