This is a docker image with simple VPN (PPTP) server with chap-secrets authentication.
PPTP uses /etc/ppp/chap-secrets file to authenticate VPN users. You need to create this file on your own and link it to docker when starting a container.
Example of chap-secrets file:
# Secrets for authentication using PAP
# client server secret acceptable local IP addresses
<username> * <password> *
To start VPN server as a docker container run:
docker run -d --net=host --privileged -v /dev/log:/dev/log -v {local_path_to_config_dir}:/config:ro lorf/vpn-pptp
Edit your local config/chap-secrets file, to add or modify VPN users whenever you need. When adding new users to config/chap-secrets file, you don't need to restart Docker container.
You can use any VPN (PPTP) client to connect to the service. To authenticate use credentials provided in chap-secrets file.