frp多客户端,实现一台云服务器连接多个局域网内的主机,多端口转发

很简单,用不同的frps.ini就行

假设你原来已经启动了一个frps.ini,现在想再加一个。
那就新建一个frps1.ini,然后端口和之前的不一样就行。
假设之前有一个7000的端口了,那现在这个用7001就可以啦~

cp frps.ini frps1.ini

如下

frps.ini

[common]
bind_port = 7001

你想连的那台电脑上的frpc.ini。

frpc.ini

[common]
server_addr = x.x.x.x
server_port = 7001
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6001

注意remote_port也要和之前的连接不一样!

猜你喜欢

转载自blog.csdn.net/dqf009/article/details/85042435