Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 641 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 641 Bytes

This docker file enables you to easily configure a pptpd docker container.
To run it call:
docker run --name pptpd --privileged -p 1723:1723 -v /opt/ppptd/etc/ppp/chap-secrets:/etc/ppp/chap-secrets eagos/armhf-pptpd


The following is an example of a systemd service. ``` [Unit] Description=Docker server. After=docker.service

[Service] ExecStartPre=-/usr/local/bin/docker rm pptpd ExecStart=/usr/local/bin/docker run --name pptpd --privileged -p 1723:1723 -v /opt/ppptd/etc/ppp/chap-secrets:/etc/ppp/chap-secrets eagos/armhf-pptpd Restart=on-failure TimeoutSec=20

[Install] WantedBy=multi-user.target