后台启动:nohup ./frps -c frps.ini &1、后台运行frp服务 服务端: nohup ./frps -c frps.ini >/dev/null 2>&1 & 客户端: nohup ./frpc -c frpc.ini >/dev/null 2>&1 & 说明:>/dev/null 2>&1 &,表示丢弃。frpc配置:[common]#服务器域名&IP server_addr = 140.143.133.61#通信端口,必须和frps一致 server_port = 7000 #特权密码必须和frps一致 token = password[Proxy_Name] #type = 类型包含 udp/tcp/http/https type = http #内网IPlocal_ip = 19.96.7.12#内网端口 local_port = 80 #加密 use_encryption = false #内容压缩 use_compression = true #域名,需要将你的域名解析至frps所在的服务器IP即可 #如果你是用免费的服务器需要将您的域名解析到免费服务器的IP custom_domains = hide.zllog.cnfrps配置:[common]#通信端口 默认 7000bind_port = 7000#udp端口默认7001bind_udp_port = 7001#kcp端口kcp_bind_port = 7000# vhost端口默认为:80 (web服务)vhost_http_port = 8080# vhost(https)端口默认为:443vhost_https_port = 443#面板地址 可默认为:0.0.0.0 无需进行修改dashboard_addr = 0.0.0.0#面板访问端口 可修改 默认为:7500dashboard_port = 7500#面板访问账号默认为:admindashboard_user = admin#面板访问密码默认:admindashboard_pwd = admin# 特权密码默认:12345678 可自行修改token = password