1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/pptpd/Dockerfile.debian

20 lines
357 B
Docker
Raw Normal View History

2015-06-28 09:14:56 +00:00
#
# Dockerfile for pptpd
#
FROM debian:jessie
2017-05-07 23:05:07 +00:00
MAINTAINER kev<noreply@easypi.pro>
2015-06-28 09:14:56 +00:00
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