diff --git a/Dockerfile b/Dockerfile index dee053b..aa23a01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ipset \ curl \ jq \ + && update-alternatives --set iptables /usr/sbin/iptables-legacy \ + && update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy \ && rm -rf /var/lib/apt/lists/* \ # Remove debian default jail (enables sshd which has no log file in container) && rm -f /etc/fail2ban/jail.d/defaults-debian.conf