From a7c529d4d17df0b009de5be120c66bcd51412bd6 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Thu, 13 Apr 2023 10:25:07 -0600 Subject: [PATCH] Update Dockerfile.tinc --- Dockerfile.tinc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile.tinc b/Dockerfile.tinc index 1d01d14..fbb35e8 100644 --- a/Dockerfile.tinc +++ b/Dockerfile.tinc @@ -1,9 +1,13 @@ FROM alpine:3.17 MAINTAINER Team Lixo -RUN apk add tinc iptables +RUN apk add tinc iptables tcpdump +RUN sed -i '/^default = default_sect/a legacy = legacy_sect' /etc/ssl/openssl.cnf +RUN sed -i '/^\[default_sect\]/a activate = 1' /etc/ssl/openssl.cnf +RUN echo "[legacy_sect]" >> /etc/ssl/openssl.cnf +RUN echo "activate = 1" >> /etc/ssl/openssl.cnf -EXPOSE 9993/tcp 655/udp +EXPOSE 655/tcp 655/udp VOLUME /etc/tinc CMD [ "sh", "-c", "/usr/sbin/tincd --net=$NETNAME --no-detach" ]