Our company manages a few kubernetes cluster, and pritunl is a great choice in managing them. Creating pritunl server is quite easy since there are some unofficial images available. But we cannot seem to find a way for setting up pritunl-client and pritunl-link in docker/kubernetes. Our last resort is to use vanilla openvpn client and use iroute there.
Do you have any plans on better supporting containerized platform?
Ok, I’ll tinker more about pritunl-link, I only tried once. What about the pritunl-client? I tried the documented commands, and it didn’t work. Or maybe it’s expected to not work in a container?
root@eceed50acc65:/# pritunl-client add pritunl://xxxxx
panic: auth: Failed to auth key
open /var/run/pritunl.auth: no such file or directory
ORIGINAL STACK TRACE:
github.com/pritunl/pritunl-client-electron/cli/service.GetAuthKey
/go/src/github.com/pritunl/pritunl-client-electron/cli/service/utils.go:44 +0x6aded6
github.com/pritunl/pritunl-client-electron/cli/sprofile.Import
/go/src/github.com/pritunl/pritunl-client-electron/cli/sprofile/utils.go:470 +0x6ba827
github.com/pritunl/pritunl-client-electron/cli/sprofile.ImportUri
/go/src/github.com/pritunl/pritunl-client-electron/cli/sprofile/utils.go:626 +0x6bbaaf
And when installing, there was some interesting errors.
@s2504s , may I ask you to share with us your Dockerfile for the VPN Client? I am also working on a solution to dockerize the pritunl client and run it in Kubernetes cluster.