mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
update
This commit is contained in:
parent
a6318a3242
commit
4c81b5542c
@ -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
|
||||
|
@ -1,9 +1,6 @@
|
||||
pptpd
|
||||
=====
|
||||
|
||||
This is still a work in progress, a successful connection has not been made.
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user