From d9ec60316474171b54ae06361cac0ab78f2d8c51 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 7 Apr 2022 13:24:13 +0200 Subject: [PATCH] Enable IPv6 forwarding by default (#1832) Enable IPv6 forwarding by default which is useful to run IPv6 based OpenThread Border Router. Currently Docker enables IPv4 forwarding by default. Enabling IPv6 support will enable IPv6 routing as well, but we are not ready yet to enable IPv6 support for Docker at this point. Enabling IPv6 forwarding should be harmless as there are no IPv6 addresses configured internally and Home Assistant OS is not typically dual-homed. In cases where it is dual-homed (e.g. VPN), routing is often used and firewalling is setup as part of that add-on. --- .../rootfs-overlay/etc/sysctl.d/60-otbr-ip-forward.conf | 1 + 1 file changed, 1 insertion(+) create mode 100644 buildroot-external/rootfs-overlay/etc/sysctl.d/60-otbr-ip-forward.conf diff --git a/buildroot-external/rootfs-overlay/etc/sysctl.d/60-otbr-ip-forward.conf b/buildroot-external/rootfs-overlay/etc/sysctl.d/60-otbr-ip-forward.conf new file mode 100644 index 000000000..ebddeaa66 --- /dev/null +++ b/buildroot-external/rootfs-overlay/etc/sysctl.d/60-otbr-ip-forward.conf @@ -0,0 +1 @@ +net.ipv6.conf.all.forwarding = 1