
tcp的frp会被运营商阻断。无法连接报错1login to the server failed: i/o deadline reached. With loginFailExit enabled, no additional retries will be attempted推测是被运营商阻断。解决方法是使用quic协议。主要是设置frps的quicBindPort(可以和bindPort相同)以及frpc的transport.protocol quic。另外由于quic是基于udp的()所以记得开放服务器安全组的udp协议端口。配置文件1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20# frpc.toml serverAddr xxx serverPort 27000 auth.method token auth.token xx transport.protocol quic [[proxies]] name ssh type tcp localIP 127.0.0.1 localPort 22 remotePort 10001 [[proxies]] name test2 type tcp localIP 127.0.0.1 localPort 222 remotePort 100011 2 3 4 5 6 7 8 9 10 11# frps.toml bindPort 27000 quicBindPort 27000 auth.method token auth.token xx # Server Dashboard可以查看frp服务状态以及统计信息 webServer.addr 0.0.0.0 # 后台管理地址 webServer.port 7500 # 后台管理端口 webServer.user xx # 后台登录用户名 webServer.password xx # 后台登录密码