diff --git a/docker-vpn/Dockerfile b/docker-vpn/Dockerfile index 43f9c07..c158849 100644 --- a/docker-vpn/Dockerfile +++ b/docker-vpn/Dockerfile @@ -9,6 +9,10 @@ RUN apt update -y && \ RUN update-alternatives --set ip6tables /usr/sbin/ip6tables-nft +# legacy xtables support for ipv4 and ipv6 +RUN update-alternatives --set iptables /usr/sbin/iptables-legacy +RUN update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy + # install webserver service RUN apt install -y nginx @@ -28,4 +32,4 @@ COPY init-container.sh /opt COPY src /var/www/html/ # initialize a container -CMD /opt/init-container.sh \ No newline at end of file +CMD /opt/init-container.sh