Frp内网穿透Frps服务端,Frpc客户端配置示例

frps服务端配置

[common]
bind_addr = 0.0.0.0
bind_port = 7000
bind_udp_port = 7001
vhost_http_port = 80
vhost_https_port = 443
dashboard_addr = 0.0.0.0
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin

endble_prometheus = true
token = 12345678
subdomain_host = frp.llnet.top
log_frle = ./frps.log
log_level = info
log_max_days =30

#max_pool_count =50
udp_packet_size = 1500

frpc客户端配置

[common]
#server_addr = x.x.x.x
server_addr = frp.llnetk.cn
server_port = 7000

# auth token
token = 12345678

# console or real logFile path like ./frpc.log
log_file = ./frpc.log
log_level = info
log_max_days = 3
pool_count = 5
tcp_mux = true
# 可设置dns
# dns_server = 119.29.29.29

[dsm_web01]
type = http
local_ip = 127.0.0.1
local_port = 8080
use_encryption = false
use_compression = false
# 修改为自己的域名
custom_domains = blog.llnetk.cn

[dsm_web01s]
type = https
local_ip = 127.0.0.1
local_port = 8443
use_encryption = false
use_compression = false
# 修改成自己的域名
custom_domains = blog.llnetk.cn


# HTTPS ֤ssl证书
#plugin_crt_path = ./ssl/xxxx.pem
#plugin_key_path = ./ssl/xxxx.key
#plugin_host_header_rewrite = 127.0.0.1
#plugin_header_X-From-Where = frp

 

© 版权声明
THE END
喜欢就支持一下吧
点赞1 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片