1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/pptpd/Dockerfile.debian

20 lines
360 B
Docker
Raw Normal View History

2015-06-28 11:14:56 +02:00
#
# 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