A simple docker container running pptp vpn server.
docker pull whuwxl/pptpd
Demonstration ONLY!
Username: username
Password: password
docker run --name pptpd --privileged -d -p 1723:1723 whuwxl/pptpd
Write custom username and password to a plain file and mount to container. You can replace 'myname' with your username and replace 'mypass' with your password.
echo "myname * mypass *" >> /chap-secrets
docker run --name pptpd --privileged -d -p 1723:1723 -v /chap-secrets:/etc/ppp/chap-secrets:ro whuwxl/pptpd
As above, this can be accomplished more cleanly using a simple Dockerfile:
FROM whuwxl/pptpd
COPY chap-secrets /etc/ppp/chap-secrets
Then build with docker build -t one-custom-pptpd . and run:
docker run --name one-pptpd --privileged -d -p 1723:1723 one-custom-pptpd
Content type
Image
Digest
sha256:20cc9672e…
Size
37.3 MB
Last updated
almost 11 years ago
docker pull whuwxl/pptpd