服务器端运行frps,绑定端口7000
客户端运行frpc,连接到服务器端7000端口,将服务器端的7001端口请求转发到本机80端口
[common]
server_addr = 125.64.77.236
server_port = 7000
log_file = ./frpc.log
[test]
type = tcp
local_ip = 127.0.0.1
local_port = 80
remote_port = 7001
服务器端运行frps,绑定端口7000
客户端运行frpc,连接到服务器端7000端口,将服务器端的7001端口请求转发到本机80端口
[common]
server_addr = 125.64.77.236
server_port = 7000
log_file = ./frpc.log
[test]
type = tcp
local_ip = 127.0.0.1
local_port = 80
remote_port = 7001
评论区