地址:https://github.com/fatedier/frp
简介:一个高效的反向代理:A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
最全面的官方教程文档:https://gofrp.org
自我记录:
a、使用TCP代理,开启本地服务器的访问。
Linux服务器启动 frps
命令:nohup ./frps -c frps.ini
(无挂起启动命令。可以自定义个shell脚本,避免每次切换目录,再启动)
配置:frps.init
[common]
bind_port = 7000
token = 123456
Windows启动 frpc
CMD命令:frpc -c testzyh.ini
配置:testzyh.ini
C:\Users\Administrator\Desktop\frpjk>frpc -c testzyh.ini
2022/01/25 14:18:15 [W] [service.go:86] login to server failed: dial tcp 124.223.72.221:7000: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
dial tcp 124.223.72.221:7000: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.失败案例:腾讯云的Linux的frps启