diff --git a/rootfs/standard/usr/bin/mynode_firewall.sh b/rootfs/standard/usr/bin/mynode_firewall.sh index 54a16602..6b86e060 100755 --- a/rootfs/standard/usr/bin/mynode_firewall.sh +++ b/rootfs/standard/usr/bin/mynode_firewall.sh @@ -3,6 +3,10 @@ set -e set -x +# Make sure we are using legacy iptables +update-alternatives --set iptables /usr/sbin/iptables-legacy || true +update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true + # Add default rules ufw default deny incoming ufw default allow outgoing