Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IPv6 NAT #2051

Merged
merged 4 commits into from
Aug 12, 2022
Merged

Support IPv6 NAT #2051

merged 4 commits into from
Aug 12, 2022

Conversation

pvizeli
Copy link
Member

@pvizeli pvizeli commented Aug 9, 2022

@pvizeli pvizeli added board/ova Open Virtual Appliance (Virtual Machine) run-dev-build Execute development build on a PR labels Aug 11, 2022
@pvizeli pvizeli temporarily deployed to dev_build August 11, 2022 07:19 Inactive
@agners agners marked this pull request as ready for review August 11, 2022 14:40
@agners
Copy link
Member

agners commented Aug 12, 2022

I tested the dev build (available from https://os-builds.home-assistant.io/9.0.dev2022081102051/), but it seems to still cause Docker not to start successfully. Maybe something is missing in the kernel configuration?

@agners
Copy link
Member

agners commented Aug 12, 2022

Aug 12 15:25:40 homeassistant audit[424]: SYSCALL arch=c000003e syscall=55 success=yes exit=0 a0=4 a1=29 a2=40 a3=7fffc4eac5d0 items=0 ppid=370 pid=424 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ip6tables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Aug 12 15:25:41 homeassistant dockerd[370]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: ip6tables --wait -t nat -N DOCKER: ip6tables v1.8.7 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Aug 12 15:25:41 homeassistant dockerd[370]: Perhaps ip6tables or your kernel needs to be upgraded.

@agners
Copy link
Member

agners commented Aug 12, 2022

Adding CONFIG_IP6_NF_NAT=y does the trick.

@agners agners merged commit 05778a2 into dev Aug 12, 2022
@agners agners deleted the ipv6-nat branch August 12, 2022 15:43
@agners agners mentioned this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/ova Open Virtual Appliance (Virtual Machine) cla-signed run-dev-build Execute development build on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants