0

I want to add a vpn configuration using the CLI:

pritunl-client add foo.tar

Unfortunately I do not have foo.tar, but only foo.ovpn. Adding foo.ovpn using the gui (pritunl-client-electron) works.

tar -cf foo.tar foo.ovpn is not sufficient :

> pritunl-client foo.tar 
panic: profile: Conf data missing
[...]

QUESTION: how do I create a tar file accepted by the cli from a ovpn accepted by the gui ?

  • Had the same issue, when the pritunl-client uncompresses the tar file it tries to load the first file that it gets. In my case I was using MacOS and the `._` metafiles got included by default, end up using `tar --disable-copyfile foo.tar foo.ovpn` to skip the copy of the metafiles – lmmendes May 07 '23 at 11:37

0 Answers0