vpn-server/Dockerfile

15 lines
364 B
Text
Raw Normal View History

FROM ubuntu:16.04
RUN apt-get update \
2019-05-11 11:19:22 +00:00
&& DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime ndppd openssl
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