[GH-ISSUE #6] Enable IPv6 for the host network #3

Open
opened 2026-03-07 19:07:58 +03:00 by kerem · 7 comments
Owner

Originally created by @24mu13 on GitHub (Nov 18, 2024).
Original GitHub issue: https://github.com/007revad/Synology_ContainerManager_IPv6/issues/6

Could this script potentially work also for host network, other than bridge one?

Even by enabling IPv6 on DSM, this is not supported (yet?) on Container Manager.

See: https://kb.synology.com/en-uk/DSM/tutorial/What_applications_on_Synology_NAS_are_IPv6_supported

Originally created by @24mu13 on GitHub (Nov 18, 2024). Original GitHub issue: https://github.com/007revad/Synology_ContainerManager_IPv6/issues/6 Could this script potentially work also for **host** network, other than bridge one? Even by enabling IPv6 on DSM, this is not supported (yet?) on Container Manager. See: https://kb.synology.com/en-uk/DSM/tutorial/What_applications_on_Synology_NAS_are_IPv6_supported
Author
Owner

@007revad commented on GitHub (Nov 18, 2024):

I was unable to get IPv6 working on the host network in Container Manager.

<!-- gh-comment-id:2484047388 --> @007revad commented on GitHub (Nov 18, 2024): I was unable to get IPv6 working on the host network in Container Manager.
Author
Owner

@016 commented on GitHub (Jan 9, 2025):

@007revad quick update, in DSM7.2.1 for default the IPv6 is actived for host network in Container Manager, in UI it's "disabled", BUT if add any container to host network, it's working good, here is my test code.
`
//1.create docker container
docker run -d --restart=always --name ee_ddns_go
--network=host
-v /volume1/pathTo:/root
jeessy/ddns-go:v6.7.7

//2. testing in side docker container
docker exec -it ee_ddns_go /bin/sh
/app # ping6 v6.yinghualuo.cn
PING v6.yinghualuo.cn (2408:8763:0:983::8006): 56 data bytes
64 bytes from 2408:8763:0:983::8006: seq=0 ttl=52 time=81.086 ms
64 bytes from 2408:8763:0:983::8006: seq=1 ttl=52 time=85.232 ms
64 bytes from 2408:8763:0:983::8006: seq=2 ttl=52 time=84.898 ms
64 bytes from 2408:8763:0:983::8006: seq=3 ttl=52 time=81.757 ms

  1. access by browser is also good
    http://[240e:3a3:6e13:dpit:::92c4]:9876
    `

thx for your great work, I will test your IPv6 script soon for open IPv6 on bridge network.

<!-- gh-comment-id:2579327408 --> @016 commented on GitHub (Jan 9, 2025): @007revad quick update, in DSM7.2.1 for default the IPv6 is actived for host network in Container Manager, in UI it's "disabled", BUT if add any container to host network, it's working good, here is my test code. ` //1.create docker container docker run -d --restart=always --name ee_ddns_go \ --network=host \ -v /volume1/pathTo:/root\ jeessy/ddns-go:v6.7.7 //2. testing in side docker container docker exec -it ee_ddns_go /bin/sh /app # ping6 v6.yinghualuo.cn PING v6.yinghualuo.cn (2408:8763:0:983::8006): 56 data bytes 64 bytes from 2408:8763:0:983::8006: seq=0 ttl=52 time=81.086 ms 64 bytes from 2408:8763:0:983::8006: seq=1 ttl=52 time=85.232 ms 64 bytes from 2408:8763:0:983::8006: seq=2 ttl=52 time=84.898 ms 64 bytes from 2408:8763:0:983::8006: seq=3 ttl=52 time=81.757 ms 3. access by browser is also good http://[240e:3a3:6e13:dpit:::92c4]:9876 ` thx for your great work, I will test your IPv6 script soon for open IPv6 on bridge network.
Author
Owner

@016 commented on GitHub (Jan 9, 2025):

@007revad hi, back to update, the script "[Synology_ContainerManager_IPv6]" is working good for access to docker container by IPv6 address, but it's not working when send request from the docker container to internet by IPv6, just like
`working:
access by browser is also good
http://[240e:3a3:6e13:dpit:::92c4]:9876

not working:
testing in side docker container
docker exec -it ee_ddns_go /bin/sh
/app # ping6 v6.yinghualuo.cn
`

the only way make the ping6 working in docker container is use host network as I know right now. maybe macvlan will work too, I will test later.

<!-- gh-comment-id:2579428176 --> @016 commented on GitHub (Jan 9, 2025): @007revad hi, back to update, the script "[Synology_ContainerManager_IPv6]" is working good for access to docker container by IPv6 address, but it's not working when send request from the docker container to internet by IPv6, just like `working: access by browser is also good http://[240e:3a3:6e13:dpit:::92c4]:9876 not working: testing in side docker container docker exec -it ee_ddns_go /bin/sh /app # ping6 v6.yinghualuo.cn ` the only way make the ping6 working in docker container is use host network as I know right now. maybe macvlan will work too, I will test later.
Author
Owner

@016 commented on GitHub (Jan 9, 2025):

more update. for DSM7.2.2 don't need run script, for default the access by IPv6 is active, just can't access internet by ipv6 in container. @007revad

<!-- gh-comment-id:2580495494 --> @016 commented on GitHub (Jan 9, 2025): more update. for DSM7.2.2 don't need run script, for default the access by IPv6 is active, just can't access internet by ipv6 in container. @007revad
Author
Owner

@007revad commented on GitHub (Jan 27, 2025):

@016
Did manage to get internet access from a container using ipv6?

<!-- gh-comment-id:2614782272 --> @007revad commented on GitHub (Jan 27, 2025): @016 Did manage to get internet access from a container using ipv6?
Author
Owner

@016 commented on GitHub (Jan 27, 2025):

@007revad nope, by default can only access by IPv6 from wan to docker container, if want to send a IPv6 request from docker container to wan, I found two options, A. use host, B. macvlan.

<!-- gh-comment-id:2616849260 --> @016 commented on GitHub (Jan 27, 2025): @007revad nope, by default can only access by IPv6 from wan to docker container, if want to send a IPv6 request from docker container to wan, I found two options, A. use host, B. macvlan.
Author
Owner

@kfurgerot commented on GitHub (May 26, 2025):

When i run the script, my container manager is on status "Repaired" and all my VM are down.
I succeed to launch the manager to revert back from dockerd.json.bak to dockerd.json
can you help me?
Maybe the problem is the storage driver ? on the script it s btrfs and actualy my volume is on ext4.
Do i have to change storage driver to : "aufs" ?

<!-- gh-comment-id:2909073065 --> @kfurgerot commented on GitHub (May 26, 2025): When i run the script, my container manager is on status "Repaired" and all my VM are down. I succeed to launch the manager to revert back from dockerd.json.bak to dockerd.json can you help me? Maybe the problem is the storage driver ? on the script it s btrfs and actualy my volume is on ext4. Do i have to change storage driver to : "aufs" ?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_ContainerManager_IPv6#3
No description provided.