mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
fix
This commit is contained in:
parent
69bd91cf9e
commit
9512950aca
@ -2,7 +2,7 @@
|
||||
# Dockerfile for VPN (PPTP)
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN apt-get update && \
|
||||
@ -10,8 +10,9 @@ RUN apt-get update && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN echo "localip 192.168.128.1" >> /etc/pptpd.conf && \
|
||||
echo "remoteip 192.168.128.100-200" >> /etc/pptpd.conf
|
||||
RUN echo "localip 10.99.99.1" >> /etc/pptpd.conf && \
|
||||
echo "remoteip 10.99.99.100-200" >> /etc/pptpd.conf && \
|
||||
echo "ms-dns 8.8.8.8" >> /etc/ppp/pptpd-options
|
||||
|
||||
EXPOSE 1723
|
||||
|
||||
|
@ -4,5 +4,5 @@ pptp:
|
||||
- "1723:1723"
|
||||
volumes:
|
||||
- ./chap-secrets:/etc/ppp/chap-secrets
|
||||
cap_add: NET_ADMIN
|
||||
privileged: true
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user