mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-24 14:31:51 +01:00
update
This commit is contained in:
19
pptpd/Dockerfile.debian
Normal file
19
pptpd/Dockerfile.debian
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Dockerfile for pptpd
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y iptables pptpd \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY pptpd.conf /etc/
|
||||
COPY chap-secrets /etc/ppp/
|
||||
COPY pptpd-options /etc/ppp/
|
||||
|
||||
EXPOSE 1723
|
||||
|
||||
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
||||
&& pptpd --fg
|
||||
Reference in New Issue
Block a user