From 31ba8b1e2e39e688b402d8767edaee0abb9830ed 2018-11-29 02:18:51 From: Unknown Date: 2018-11-29 02:18:51 Subject: [PATCH] a --- diff --git a/bootstrap.d/21-firewall.sh b/bootstrap.d/21-firewall.sh index e6033c4..1688be9 100644 --- a/bootstrap.d/21-firewall.sh +++ b/bootstrap.d/21-firewall.sh @@ -27,6 +27,9 @@ if [ "$ENABLE_IPTABLES" = true ] ; then chroot_exec systemctl enable iptables.service if [ "$ENABLE_IPV6" = true ] ; then + # make sure ip6tables-legacy is the used alternatives + chroot_exec update-alternatives --verbose --set ip6tables /usr/sbin/ip6tables-legacy + # Install ip6tables systemd service install_readonly files/iptables/ip6tables.service "${ETC_DIR}/systemd/system/ip6tables.service"