1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/pptpd/Dockerfile.debian

20 lines
378 B
Docker
Raw Normal View History

2015-06-28 11:14:56 +02:00
#
# Dockerfile for pptpd
#
FROM debian:jessie
2017-05-08 01:05:07 +02:00
MAINTAINER kev<noreply@easypi.pro>
2015-06-28 11:14:56 +02:00
RUN apt-get update \
&& apt-get install -y iptables pptpd \
&& rm -rf /var/lib/apt/lists/*
2018-03-15 15:31:37 +02:00
COPY ./data/pptpd.conf /etc/
COPY ./data/chap-secrets /etc/ppp/
COPY ./data/pptpd-options /etc/ppp/
2015-06-28 11:14:56 +02:00
EXPOSE 1723
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
&& pptpd --fg