mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-02 23:07:27 +02:00
update
This commit is contained in:
parent
a82f530d40
commit
2addd13eef
@ -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"]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user