This takes about 15 minutes to set up all steps inclusive server/client.
- GCP VM with CoreOS (or any docker capable) image + network / firewall config
- install server image https://hub.docker.com/r/johnae/pritunl/
sudo echo -n >/etc/systemd/resolved.conf && systemctl stop systemd-resolved
docker pull johnae/pritunl
docker run -d --privileged -p 53:53/udp -p 53:53/tcp -p 443:443/tcp johnae/pritunl
docker ps
docker exec -it $HEXA /bin/bash
ps uaxw | grep pitunl
kill -9 $PID
vi /etc/pritunl.conf # change admin port to 443
/usr/bin/pritunl start --daemon --pidfile /var/run/pritunl.pid
- configure server as per docs at https://docs.pritunl.com/docs/connecting
on https://$VM_PUBLIC_IP
default l/p: pritunl:pritunl
change default pass :0)
just in case: https://docs.pritunl.com/docs/commands#section-unset
pritunl reset-password
-
download the client https://client.pritunl.com/
-
copy last link from server on the user page as per https://docs.pritunl.com/docs/connecting#section-downloading-user-profile
from the last box "Temporary uri link for Pritunl Client, expires after 24 hours" to the client "Import profile URI"
connect -> magic