vpn-server/Dockerfile
Andrew Davidson 5745edfc20
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
updating to recent debian
2023-03-08 21:23:55 -08:00

15 lines
403 B
Docker

FROM debian:bullseye-slim
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime ndppd openssl \
&& rm /etc/ipsec.secrets
ADD ./etc/* /etc/
ADD ./bin/* /usr/bin/
VOLUME /etc
# http://blogs.technet.com/b/rrasblog/archive/2006/06/14/which-ports-to-unblock-for-vpn-traffic-to-pass-through.aspx
EXPOSE 500/udp 4500/udp
CMD /usr/bin/start-vpn