Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4499

Ubuntu 22.04 OpenVPN config

$
0
0

I have .ovpn file, exported from OpenVPN server:

dev tunpersist-tunpersist-keycipher AES-256-CBCauth SHA512clientresolv-retry infiniteremote xxx.xxx.xxx.xxx 1194 udplport 0verify-x509-name "C=xxx, ST=xxx, L=xxx, O=xxx, emailAddress=xxx@xxx.xxx, CN=xxx" subjectremote-cert-tls serverauth-user-pass auth.txtcomp-lzo adaptivepkcs12 xxx.p12tls-auth xxx-tls.key 1

Sure I have auth.txt, xxx.p12 and xxx-tls.key files, exported from the same OpenVPN server

Can anyone please explain me, what have I do to config client with this files on Ubuntu 22.04?

I've installed openvpn (apt-get install openvpn)

Put all the files to /etc/openvpn/client

Tried to openvpn --config /etc/openvpn/client/xxx.ovpn

Have an error Cannot pre-load keyfile (xxx-tls.key)

I'm not sure these steps are right...


Viewing all articles
Browse latest Browse all 4499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>