From 62c7fd050427c3e65a997e30f0f96dcdef30cfc6 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Fri, 11 Aug 2023 10:26:23 -0400 Subject: [PATCH] Add iptables FORWARDING due to dockerd conflict. --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index 24ec564..cd5d672 100755 --- a/install.sh +++ b/install.sh @@ -29,6 +29,13 @@ for i in "$@"; do done +# ensure the iptables forward policy is set to ACCEPT so your host can act as a router +# Note this is necessary if docker is running (or has been previuosly installed) on the +# same host running LXD. +sudo iptables -F FORWARD +sudo iptables -P FORWARD ACCEPT + + # if the user didn't specify the disk or partition, we create a loop device under # the user's home directory. If the user does specify a disk or partition, we will # create the ZFS pool there.