2023-03-09 05:23:55 +00:00
|
|
|
FROM debian:bullseye-slim
|
2015-10-27 16:40:14 +00:00
|
|
|
|
|
|
|
RUN apt-get update \
|
2019-06-04 22:19:21 +00:00
|
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime ndppd openssl \
|
|
|
|
&& rm /etc/ipsec.secrets
|
2015-01-25 14:44:57 +00:00
|
|
|
|
|
|
|
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
|