zhanghui Posted December 21, 2020 Share Posted December 21, 2020 各位大神好,我用一台j3455搭建软路由 主路由-爱快 旁路由--lede 使用unraid自带docker安装jellyfin端口8096 使用爱快进行8096端口映射,都无法访问到8096端口,换了docker所有网络连接方式,都不行 这个问题困惑我好几天,希望大神们有什么解决方式,谢谢了。 Quote Link to comment
JavyLiu Posted December 21, 2020 Share Posted December 21, 2020 以下建议建立在你内网可以用 8096 端口访问 Jellyfin 的基础上。 1、检查一下 Jellyfin 的网络使用的是哪一种模式,如果是 host 模式,爱快上映射时应当设置为 Unraid 的内网地址;若是 bridge 模式,则与 Unraid 的内网地址不同,可以自行查看爱快的路由表。 2、检查你的防火墙设置,注意 ipv4 和 ipv6 的防火墙一般是分开的。 1 Quote Link to comment
zhanghui Posted December 21, 2020 Author Share Posted December 21, 2020 1 hour ago, JavyLiu said: 以下建议建立在你内网可以用 8096 端口访问 Jellyfin 的基础上。 1、检查一下 Jellyfin 的网络使用的是哪一种模式,如果是 host 模式,爱快上映射时应当设置为 Unraid 的内网地址;若是 bridge 模式,则与 Unraid 的内网地址不同,可以自行查看爱快的路由表。 2、检查你的防火墙设置,注意 ipv4 和 ipv6 的防火墙一般是分开的。 1,host模式,映射unraid内网地址,内网可以,外网不行 2. bridge模式,映射内网ip,内网可以访问,外网不行 现在使用的是host模式 防火墙配置 如下 Chain INPUT (policy ACCEPT) target prot opt source destination LIBVIRT_INP all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination DOCKER-USER all -- anywhere anywhere DOCKER-ISOLATION-STAGE-1 all -- anywhere anywhere ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED DOCKER all -- anywhere anywhere ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere LIBVIRT_FWX all -- anywhere anywhere LIBVIRT_FWI all -- anywhere anywhere LIBVIRT_FWO all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination LIBVIRT_OUT all -- anywhere anywhere Chain DOCKER (1 references) target prot opt source destination Chain DOCKER-ISOLATION-STAGE-1 (1 references) target prot opt source destination DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere RETURN all -- anywhere anywhere Chain DOCKER-ISOLATION-STAGE-2 (1 references) target prot opt source destination DROP all -- anywhere anywhere RETURN all -- anywhere anywhere Chain DOCKER-USER (1 references) target prot opt source destination RETURN all -- anywhere anywhere Chain LIBVIRT_FWI (1 references) target prot opt source destination Chain LIBVIRT_FWO (1 references) target prot opt source destination Chain LIBVIRT_FWX (1 references) target prot opt source destination Chain LIBVIRT_INP (1 references) target prot opt source destination Chain LIBVIRT_OUT (1 references) target prot opt source destination 我也不知道怎么配置,还请大佬帮忙看下 Quote Link to comment
jerry zhang Posted December 24, 2020 Share Posted December 24, 2020 DOCKER设置中把 Host access to custom networks: 改成enable Quote Link to comment
BlueFang Posted December 27, 2020 Share Posted December 27, 2020 问题出在旁路由上,你把旁路由去掉,就什么毛病都没有了。 Quote Link to comment
kylin2021 Posted February 15, 2021 Share Posted February 15, 2021 On 12/27/2020 at 11:14 PM, BlueFang said: 问题出在旁路由上,你把旁路由去掉,就什么毛病都没有了。 确实是旁路由的问题我也遇到了。 能够解析域名但是无法ping通 Quote Link to comment
thisisyy Posted November 16, 2021 Share Posted November 16, 2021 也遇到同样的问题,其他的端口映射都没问题,就jellyfin外网访问不了 Quote Link to comment
bestcyan Posted December 15, 2021 Share Posted December 15, 2021 试了百种方法,ipv6端口转不了,升级了 6.10.0-rc1 docker版本也有升级ipv6端口可以映射了。感觉是6.9.2 docker 对ipv6端口映射的设置有问题。 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.