有一个公网IP的VPS服务器
https://github.com/fatedier/frp
https://github.com/fatedier/frp/releases
wget –no-check-certificate https://raw.githubusercontent.com/clangcn/onekey-install-shell/master/frps/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install
有一个内网
[common]
server_addr = 111.230.33.203
server_port = 5443
privilege_token =Aa123456
log_level = trace
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin
[web]
type = https
local_ip = 192.168.1.164
local_port = 5001
custom_domains = frps.dd-home.top
use_encryption = false
use_compression = true
更新与2018-05-29 新版本
[common] server_addr = xxxxx server_port = xxxx token = xxxxxxxxxxxxx [web] type = http local_port = 8080 custom_domains = demo.dd-home.top