mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
update
This commit is contained in:
parent
06c2a33fc6
commit
a11198bb80
@ -2,12 +2,12 @@
|
||||
# Dockerfile for pptpd
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
FROM alpine
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y iptables pptpd \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apk update \
|
||||
&& apk add iptables ppp pptpd \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY pptpd.conf /etc/
|
||||
COPY chap-secrets /etc/ppp/
|
||||
@ -16,4 +16,7 @@ COPY pptpd-options /etc/ppp/
|
||||
EXPOSE 1723
|
||||
|
||||
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
||||
&& pptpd --fg
|
||||
&& syslogd \
|
||||
&& pptpd \
|
||||
&& sleep 0.1 \
|
||||
&& tail -f /var/log/messages
|
||||
|
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
|
@ -1,6 +1,8 @@
|
||||
pptpd
|
||||
=====
|
||||
|
||||
[![](https://badge.imagelayers.io/vimagick/pptpd:latest.svg)](https://imagelayers.io/?images=vimagick/pptpd:latest)
|
||||
|
||||
The Point-to-Point Tunneling Protocol is a method for implementing virtual private networks.
|
||||
PPTP uses a control channel over TCP and a GRE tunnel operating to encapsulate PPP packets.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user