frp内网穿透

服务器端配置

[common]

bind_port = 7000

token = lisonghong


服务器端启动

./frps -c frps.ini              #Linux启动

frps.exe -c frps.ini          #windows启动  


客户端配置

[common]

server_addr = 192.168.1.100

server_port = 7000

token =lisonghong


[yczm]                         #映射名1

type = tcp                   #类型

local_ip = 127.0.0.1      #本地IP

local_port = 3389        #本地端口

remote_port = 7005    #服务器端端口


[yczm1]                       #映射名2

type = tcp                   #类型

local_ip = 127.0.0.1     #本地IP

local_port = 8080        #本地端口

remote_port = 7006     #服务器端端口


客户端启动

./frpc -c frpc.ini              #Linux启动  

frpc.exe -c frpc.ini          #windows启动