16 lines
340 B
Text
16 lines
340 B
Text
|
FROM ubuntu:14.04
|
||
|
|
||
|
RUN apt-get update
|
||
|
RUN apt-get -y install strongswan iptables uuid-runtime
|
||
|
RUN 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
|