1>服务端配置(云服务器)
公网ip根据自己情况修改
[common]
bind_addr = 公网IP
bind_port = 7000
kcp_bind_port = 7000
vhost_https_port = 7001
dashboard_addr = 公网IP
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin
log_file = ./frps.log
log_level = info
log_max_days = 3
allow_ports = 2000-6000,8000-10000
max_pool_count = 50
max_ports_per_client = 0
2>客服端配置
[common]
server_addr = 公网IP
server_port = 7000
[control]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 3390