A secure docker container that sets up PiVPN in a virtual environment.
Branch: master
Clone or download
InnovativeInventor Merge Devel (#10)
* Added developer mode

* Automatically installs docker on debian

* Added fi to complete if statement

* Added quotes around platform command

* Fixed typo from darwin>debian (probably atom's fault)

* Set to use install script at get.docker.com

* Updated docker build

* Fixed build issues

* Switched to debian:latest which should ensure max compatibility

* Made it easier and faster to build

* Updated amd64 dockerfile and removed unnecessary code

* Added nopass option, which should fix #7

* Uncommented a line

* Fixed a typo

* Replaced mkdir with useradd -m

* Exposed both udp and tcp ports

* Only exposed 1194/udp

* Added 1194/udp to detect_port

* Added note about the devel branch

* Added note about TCP

* Changed latest to stretch

* Changed latest to stretch

* Fixed issues mentioned in #9

* Fixed issues mentioned in #9
Latest commit 522252b Jul 16, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Update LICENSE Jul 19, 2017
README.md Merge Devel (#10) Jul 16, 2018
motd Simplified setup Dec 18, 2017
randwrite.sh Entropy feature Dec 18, 2017
setup.sh Merge Devel (#10) Jul 16, 2018


PiVPN Docker

A simple docker container that sets up PiVPN.

Install and Config

Type in:

curl -L https://bit.ly/2CzLV3T -o setup.sh
sudo bash setup.sh

For most use cases, you just need to press enter all the way through your prompts.

Usage: setup.sh <options>
   -h --help                Show help
   -b --build               Builds dockerfile
   -c --config <amount>     Specify the amount of client configs you want
   -r --rand <amount>       Specify the amount of random data (100's of bytes) that you want your Docker container to be seeded with

Note: Usage on ARM is not fully supported yet, although feel free to help out in this area. Also, PiVPN over TCP is not supported.

Credits & Contributions

Visit PiVPN's GitHub at https://github.com/pivpn/pivpn.

Contributions are always welcome! Just submit a pull request, and I'll review it. Please note that newest features are on the devel branch.