FROM ubuntu:22.04 RUN apt-get update && apt-get install -y \ openssh-server \ dante-server \ iptables \ iproute2 \ net-tools \ curl \ && rm -rf /var/lib/apt/lists/* # Configure SSH RUN mkdir -p /var/run/sshd RUN useradd -m -s /bin/bash tunneluser # Enable IP forwarding in /etc/sysctl.conf RUN echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf RUN sysctl -p WORKDIR /app COPY . /app RUN chmod +x entrypoint.sh ENTRYPOINT ["./entrypoint.sh"]