配置 Frps 内网穿透有点迷糊,求高手指点下哪里出错了

2017-06-04 14:03:24 +08:00
 tyhunter
客户端配置如下:
#客户端配置:
cat > "/tmp/frp/myfrpc.ini" <<-\EOF
[common]
server_addr = 45.123.*.*
server_port = 5555
privilege_token = 1234567890

[ROUTER]
type = http
local_ip = 192.168.123.1
local_port = 80
use_gzip = true
use_encryption = true
pool_count = 20
privilege_mode = true
custom_domains = router.******.net
EOF

[Aria2]
type = http
local_ip = 192.168.123.1
local_port = 6800
use_gzip = true
use_encryption = true
pool_count = 20
privilege_mode = true
custom_domains = aria2.*****.net
EOF


#服户端配置:
# [common] is integral section
[common]
# A literal address or host name for IPv6 must be enclosed
# in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
bind_addr = 0.0.0.0
bind_port = 5555
# if you want to configure or reload frps by dashboard, dashboard_port must be set
dashboard_port = *****
# dashboard assets directory(only for debug mode)
dashboard_user = admin
dashboard_pwd = ******
# assets_dir = ./static

vhost_http_port = 81
vhost_https_port = 443
# console or real logFile path like ./frps.log
log_file = ./frps.log
# debug, info, warn, error
log_level = info
log_max_days = 3
# if you enable privilege mode, frpc can create a proxy without pre-configure in frps when privilege_token is correct
privilege_mode = true
privilege_token = 1234567890
# only allow frpc to bind ports you list, if you set nothing, there won't be any limit
#privilege_allow_ports = 1-65535
# pool_count in each proxy will change to max_pool_count if they exceed the maximum value
max_pool_count = 200

在域名解析添加了两条 A 记录,分别是 router 和 aria2 都解析到 VPS IP

但是这样还是没法用,实在有点犯晕
3726 次点击
所在节点    问与答
1 条回复
Silently
2018-03-10 01:12:23 +08:00
服务端的域名配置呢?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/365835

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX