diff --git a/pptp/Dockerfile b/pptp/Dockerfile index 3520c14..3c42b7a 100644 --- a/pptp/Dockerfile +++ b/pptp/Dockerfile @@ -2,7 +2,7 @@ # Dockerfile for VPN (PPTP) # -FROM debian:jessie +FROM ubuntu:14.04 MAINTAINER kev 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 diff --git a/pptp/fig.yml b/pptp/fig.yml index 4f6948a..9a1c93f 100644 --- a/pptp/fig.yml +++ b/pptp/fig.yml @@ -4,5 +4,5 @@ pptp: - "1723:1723" volumes: - ./chap-secrets:/etc/ppp/chap-secrets - cap_add: NET_ADMIN + privileged: true restart: always