1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
This commit is contained in:
kev 2015-06-28 12:36:09 +08:00
parent a6318a3242
commit 4c81b5542c
3 changed files with 4 additions and 4 deletions

View File

@ -13,5 +13,7 @@ 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

View File

@ -1,9 +1,6 @@
pptpd
=====
This is still a work in progress, a successful connection has not been made.
## docker-compose.yml
```

View File

@ -1,9 +1,10 @@
pptpd:
image: vimagick/pptpd
ports:
- "1723:1723"
volumes:
- ./pptpd.conf:/etc/pptpd.conf
- ./pptpd-options:/etc/ppp/pptpd-options
- ./chap-secrets:/etc/ppp/chap-secrets
net: host
privileged: true
restart: always