frpc 应用

101 阅读1分钟

配置

frps.ini

[common]
log_file = ./frps.log
dashboard_user = user
dashboard_pwd = password
authentication_method = token
token = token

dashboard_addr = 0.0.0.0
dashboard_port = 7500

vhost_http_port = 9090
vhost_https_port = 9443

bind_addr = 0.0.0.0
bind_port = 8000

frpc.ini

[common]
server_addr = ###
server_port = 8000
authentication_method = token
token = token

[144-node1]
type = tcp
local_ip = 127.0.0.1
local_port = 7070
remote_port = 8100

[144-node2]
type = tcp
local_ip = 127.0.0.1
local_port = 8896
remote_port = 8200


[144-node3]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 8222

[cos]
type = tcp 
local_ip = 127.0.0.1
local_port = 7788
remote_port = 7788