frp

cat  frps_full.ini

[common]
bind_addr = 0.0.0.0
bind_port = 7000

vhost_http_port = 8098

dashboard_addr = 0.0.0.0
dashboard_port = 7500

dashboard_user = admin
dashboard_pwd = Closeli01@cso.me

log_file = ./frps.log

log_level = info

log_max_days = 3

token = Closeli57@csonie1Ui3o

allow_ports = 2000-3000,3001,3003,4000-50000

max_pool_count = 5

max_ports_per_client = 0

authentication_timeout = 900

subdomain_host = hm.closeliandmu.com

tcp_mux = true

 

 

[root@ops ~]# grep -v ^$ /opt/frp_0.20.0_linux_amd64/frpc_full.ini|grep -v ^#
[common]
server_addr = 114.55.59.185
server_port = 7000
log_file = ./frpc.log
log_level = info
log_max_days = 3
token = Closeli57@csonie1Ui3o
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_passwd = admin
pool_count = 5
tcp_mux = true
user = foshan
login_fail_exit = true
protocol = tcp
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
use_encryption = false
use_compression = false
remote_port = 6003
[fsprom]
type = http
local_ip = 127.0.0.1
local_port = 9099
use_encryption = false
use_compression = true
subdomain = fsprom
locations = /,/pic
header_X-From-Where = frp

posted @ 2018-06-25 14:45  zhaoguanhao  阅读(185)  评论(0编辑  收藏  举报