Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

关于docker外网无法访问问题

Featured Replies

各位大神好,我用一台j3455搭建软路由

主路由-爱快

旁路由--lede

使用unraid自带docker安装jellyfin端口8096

使用爱快进行8096端口映射,都无法访问到8096端口,换了docker所有网络连接方式,都不行

这个问题困惑我好几天,希望大神们有什么解决方式,谢谢了。

以下建议建立在你内网可以用 8096 端口访问 Jellyfin 的基础上。

1、检查一下 Jellyfin 的网络使用的是哪一种模式,如果是 host 模式,爱快上映射时应当设置为 Unraid 的内网地址;若是 bridge 模式,则与 Unraid 的内网地址不同,可以自行查看爱快的路由表。

2、检查你的防火墙设置,注意 ipv4 和 ipv6 的防火墙一般是分开的。

  • Author
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    

 

我也不知道怎么配置,还请大佬帮忙看下

 

DOCKER设置中把

Host access to custom networks: 改成enable

问题出在旁路由上,你把旁路由去掉,就什么毛病都没有了。

  • 1 month later...
On 12/27/2020 at 11:14 PM, BlueFang said:

问题出在旁路由上,你把旁路由去掉,就什么毛病都没有了。

确实是旁路由的问题我也遇到了。 能够解析域名但是无法ping通

 

  • 9 months later...

也遇到同样的问题,其他的端口映射都没问题,就jellyfin外网访问不了

  • 5 weeks later...

试了百种方法,ipv6端口转不了,升级了

6.10.0-rc1 docker版本也有升级ipv6端口可以映射了。感觉是6.9.2 docker

对ipv6端口映射的设置有问题。

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.