1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
dockerfiles/pptpd/Dockerfile.debian
2016-05-01 09:06:20 +08:00

20 lines
358 B
Docker

#
# Dockerfile for pptpd
#
FROM debian:jessie
MAINTAINER kev<noreply@easypi.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