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.

分享下我的网络设置

Featured Replies

路由拨号,旁路由科学

配置方法也是按论坛分享的教程,附上:原帖地址

 

我的网络环境是unraid走旁路由,docker容器走主路由

 

有ipv6,就用起来主要是为qbittorrent

首先是路由上的设置:

1.

1952211741_router-DHCPpng.thumb.png.4cba959d287df14b1f14573771a9b06e.png

 

其次是unraid上的网络设置,unraid和docker独立网口

eth0

368513089_TowerNetworkSettingspng.thumb.png.05037697b3da58053d67ea99750f7c40.png

eth1

596522962_TowerNetworkSettingspng(1).thumb.png.f18f10a31dacc0a8e5fb2e5672254574.png

 

docker网络设置:

这里用的就是eth1的桥接了,手动把eth0的桥接br0分配到的信息手动填在br1上,这里的网关用的是主路由的,不是旁路由192.168.0.9,手动设置了DHCP池。ipv6的子网填上240e:XXXX:XXXX:XXXX::/64,网关就是lan1上的240e:xxxx:xxxx:xxxx::1001

ipv6.thumb.png.4e7a893cdb6f899ba22e86d8e003720e.png

 

552959663_TowerDockerSettingspng.thumb.png.1a8fe95d0bb6cb6d83b31e6f86d19e94.png

 

修改qbittorrent容器网络设置

image.thumb.png.8fa6485679de2c9a594eeeeda4458cb6.png

 

然后是给ipv6互访做限制

先禁止,再单独开放端口访问

549734581_router-ACLpng.thumb.png.92f552f265ba1eb9193d5759646d486a.png

 

最后就是在qbittorrent上,绑定到的可选P地址:所有地址或自行选择

Edited by phui.chen

  • Author

才发现ipv6都是动态的。

不能使用固定前缀,只能dhcp分发,在docker服务设置里取消勾选所有网络br0,br1,保存启动后在unraid终端手动创建网络

docker network create -d macvlan --subnet=192.168.0.0/24 --gateway=192.168.0.1 --ip-range=192.168.0.128/25 --ipv6 --subnet=fd00::/64 -o parent=br1 proxy

路由器内DHCPv6模式设置无状态,或有状态加无状态

你这方法不错,我原来的操作是直接用在一个不跑旁路的VM部署qb。。。。。。

  • 5 months later...

没有第二个物理网口是不是用不了这个方法,目前我把unraid的网关指向openwrt,docker就连接不到网络了。🥲

  • 11 months later...
On 12/25/2023 at 1:57 PM, lt_holmes said:

没有第二个物理网口是不是用不了这个方法,目前我把unraid的网关指向openwrt,docker就连接不到网络了。🥲

请问最后这个问题解决了么?

  • 2 months later...

 

On 12/8/2024 at 10:48 AM, royce said:

请问最后这个问题解决了么?

我也遇到了,解决了

  • 2 weeks later...

真复杂😅

  • 2 weeks later...

我用unraid做allinone,openwrt做主路由,3网口,用一段时间了,很稳定。

以前用过你这种方案,后来我是直接在翻墙软件里面自定义规则,因为有些docker容器也需要翻墙,还是这样最灵活

感谢!

类似的方法,但Docker的QB,不知道为什么都 打不了洞( 用的natmap),折腾的半天,最后只能开个VM,用natmap和QB才能成功打洞。。。 

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.