You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-07-03 00:36:56 +02:00
update
This commit is contained in:
@ -13,5 +13,7 @@ COPY pptpd.conf /etc/
|
|||||||
COPY chap-secrets /etc/ppp/
|
COPY chap-secrets /etc/ppp/
|
||||||
COPY pptpd-options /etc/ppp/
|
COPY pptpd-options /etc/ppp/
|
||||||
|
|
||||||
|
EXPOSE 1723
|
||||||
|
|
||||||
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
||||||
&& pptpd --fg
|
&& pptpd --fg
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
pptpd
|
pptpd
|
||||||
=====
|
=====
|
||||||
|
|
||||||
This is still a work in progress, a successful connection has not been made.
|
|
||||||
|
|
||||||
|
|
||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
pptpd:
|
pptpd:
|
||||||
image: vimagick/pptpd
|
image: vimagick/pptpd
|
||||||
|
ports:
|
||||||
|
- "1723:1723"
|
||||||
volumes:
|
volumes:
|
||||||
- ./pptpd.conf:/etc/pptpd.conf
|
- ./pptpd.conf:/etc/pptpd.conf
|
||||||
- ./pptpd-options:/etc/ppp/pptpd-options
|
- ./pptpd-options:/etc/ppp/pptpd-options
|
||||||
- ./chap-secrets:/etc/ppp/chap-secrets
|
- ./chap-secrets:/etc/ppp/chap-secrets
|
||||||
net: host
|
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
|
Reference in New Issue
Block a user