frps.ini

`[common]
bind_port = 7700 服务器链接端口
token = 令牌
vhost_http_port = 80 服务器http端口
vhost_https_port = 443 服务器https端口
dashboard_port = 7500 仪表盘端口
dashboard_user = 仪表盘用户名
dashboard_pwd = 仪表盘密码
tcp_mux = true
max_pool_count = 10
log_file = frpc.log
log_level = info 日志记录类别,可选:trace, debug, info, warn, error
log_max_days = 7
login_fail_exit = false 设置为false,frpc连接frps失败后重连,默认为true不重连`

frpc.ini

`[common]
server_addr = 服务器地址ie:xxx.xxx.xx.xx 或者域名
server_port = 服务器连接端口,ie:7700
token = 登录令牌

[transmission-http]
type = http
local_ip = 192.168.1.5
local_port = 9091
use_encryption = true
use_compression = true
custom_domains = pt.alinas.cn

[dsm-http]
type = http
local_ip = 192.168.1.5
local_port = 5000
use_encryption = true
use_compression = true
custom_domains = dsm.alinas.cn
use_encryption = true
use_gzip = true
http_user = 页面用户名 用于保护被转发的域名
http_pwd = 页面密码

[blog-http]
type = http
local_ip = 192.168.1.5
local_port = 8090
use_encryption = true
use_compression = true
custom_domains = blog.alinas.cn
`

Last modification:March 10th, 2020 at 02:44 pm
如果觉得我的文章对你有用,请随意赞赏