系统是 unraid 6.10.2 ,通过应用市场安装 Adminer 后,在局域网内可以直接访问,并能正常使用。但是当我通过 Frp 内网穿透后却无法访问,其他的服务通过相同配置后都可以访问,只有 Adminer 不行。
Frp 配置:
[Adminer]
type = tcp
local_ip = 127.0.0.1
local_port = 3388
remote_port = 3388
外网请求时的 Adminer 容器日志:
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36312 Accepted
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36312 [200]: GET /
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36312 Closing
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36326 Accepted
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36328 Accepted
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36340 Accepted
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36326 [200]: GET /adminer.css?v=1882297936
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36326 Closing
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36340 [200]: GET /?file=default.css&version=4.8.1
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36340 Closing
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36328 [200]: GET /?file=functions.js&version=4.8.1
[Tue Jul 5 02:24:47 2022] [::ffff:172.17.0.1]:36328 Closing
局域网请求时候的 Adminer 容器日志:
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6634 Accepted
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6634 [200]: GET /
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6634 Closing
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6636 Accepted
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6636 [200]: GET /?file=default.css&version=4.8.1
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6636 Closing
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6635 Accepted
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6635 [200]: GET /adminer.css?v=1882297936
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6635 Closing
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6637 Accepted
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6637 [200]: GET /?file=functions.js&version=4.8.1
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6637 Closing
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6638 Accepted
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6638 [200]: GET /?file=functions.js&version=4.8.1
[Tue Jul 5 02:26:15 2022] [::ffff:192.168.1.225]:6638 Closing
[Tue Jul 5 02:26:19 2022] [::ffff:192.168.1.225]:6643 Accepted
[Tue Jul 5 02:26:19 2022] [::ffff:192.168.1.225]:6643 [200]: POST /?script=version
[Tue Jul 5 02:26:19 2022] [::ffff:192.168.1.225]:6643 Closing
1
jifengg 2022-07-05 13:18:53 +08:00
“不行”是具体指的啥?
查一下 adminer 的日志,看看是不是来源 ip 限制了,是否 adminer 监听的 ip 是 192.168.xxx ,是的话可以改成 0.0.0.0 试试。 |