Skip to content

Commit

Permalink
Persists /etc/ipsec.secrets to /config (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Harton authored and gaomd committed Sep 27, 2016
1 parent 8fb59e8 commit 39c95c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Expand Up @@ -6,11 +6,14 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* # cache busted 20160406.1

RUN rm /etc/ipsec.secrets
RUN mkdir /config
RUN (cd /etc && ln -s /config/ipsec.secrets .)

ADD ./etc/* /etc/
ADD ./bin/* /usr/bin/

VOLUME /etc
VOLUME /config

# 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
Expand Down

0 comments on commit 39c95c2

Please sign in to comment.