Bibi40k
Contributor
- Joined
- Jan 26, 2018
- Messages
- 136
You generate all necessary files then you open .conf file with ovpn. If it does not recognize .conf you rename it to .ovpn
If you want, you can also copy certificates from each file into .conf instead of that link/path.
Is the same thing
Bibi40k.conf
ca.crt
Bibi40k.crt
Bibi40k.key
ta.key
Example:
If you want, you can also copy certificates from each file into .conf instead of that link/path.
Is the same thing
Bibi40k.conf
ca.crt
Bibi40k.crt
Bibi40k.key
ta.key
Example:
client
dev tun
proto udp
remote myserver.com 11941
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
verb 3
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
MIIDSjCCAjKgAwIBAgIJAPZi8xHec85GMA0GCSqGSIb3DQEBCwUAMB0xGzAZBgNV
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
MIIDSTCCAjGgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAdMRswGQYDVQQDDBJPcGVu
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFDjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIecU3Dsb/F/UCAggA
-----END ENCRYPTED PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
ea2e6d2f985acdcdc716b6109b284e28
-----END OpenVPN Static key V1-----
</tls-auth>