1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-06-02 23:07:27 +02:00
This commit is contained in:
kev 2015-06-28 11:42:35 +08:00
parent a82f530d40
commit 2addd13eef
3 changed files with 5 additions and 5 deletions

View File

@ -8,11 +8,11 @@ FROM debian:jessie
MAINTAINER kev<noreply@datageek.info>
RUN apt-get update \
&& apt-get install -y pptpd \
&& apt-get install -y iptables pptpd \
&& rm -rf /var/lib/apt/lists/*
COPY pptpd.conf /etc/
COPY chap-secrets /etc/ppp/
COPY pptpd.conf /etc/
COPY chap-secrets /etc/ppp/
COPY pptpd-options /etc/ppp/
CMD ["pptpd", "--fg"]

View File

@ -2,7 +2,7 @@ pptpd:
image: vimagick/pptpd
volumes:
- ./pptpd.conf:/etc/pptpd.conf
- ./options.pptp:/etc/ppp/options.pptp
- ./pptpd-options:/etc/ppp/pptpd-options
- ./chap-secrets:/etc/ppp/chap-secrets
net: host
privileged: true

View File

@ -1,4 +1,4 @@
option /etc/ppp/options.pptp
option /etc/ppp/pptpd-options
pidfile /var/run/pptpd.pid
localip 192.168.127.1
remoteip 192.168.127.100-199