$ vim frps.ini
[common]
bind_addr = 0.0.0.0 //绑定公网ip,客服端需要连接这个ip
bind_port = 7000
vhost_http_port = 80
vhost_https_port = 430
dashboard_port = 7500 //frp web管理端口
dashboard_user = admin //web认证用户
dashboard_pwd = admin //web认证密码
log_file = ./frps.log
log_level = debug
log_max_days = 3
privilege_token = 12345678 //token客户端必须和服务端保持一致
privilege_allow_ports = 2000-3000,3001,3003,4000-50000
max_pool_count = 5
authentication_timeout = 900
subdomain_host = akhack.com
tcp_mux = true