Run Pritunl in a docker container.
Pritunl is a distributed enterprise VPN server built using the OpenVPN protocol.
- VPN out of the box using
docker-compose
. - Support for external MongoDB allowing multi host setup.
- Clone this repo:
https://github.com/tarbase/docker-pritunl
- Create the local MongoDB data directory (data volume):
mkdir -p /opt/mongo
- Run
docker-compose up
The admin console is now available at
https://<ip>
with usernamepritunl
, passwordpritunl
.
- Make sure that you MongoDB is up and running. (Use https://mlab.com to run a sandbox MongoDB instance)
- You will need to change the MONGODB_URI bellow to point the remote MongoDB. (See standard MongoDB connection string)
- Run
docker run -it --privileged \
-p 80:80 \
-p 443:443/tcp \
-p 1194:1194/udp \
-p 1194:1194/tcp \
-e MONGODB_URI=mongodb://<dbuser>:<dbpassword>@<dbip>:27017/pritunl \
tarbase/docker-pritunl
The admin console is now available at
https://<ip>
with usernamepritunl
, passwordpritunl
.
If you have a specific feature request or if you found a bug, please use GitHub issues. Fork these docs and send a pull request with improvements.
Feel free to reach out: https://tarbase.com