wiki:ovpn_file_example
Differences
This shows you the differences between two versions of the page.
wiki:ovpn_file_example [2021/06/02 12:09] – created antisa | wiki:ovpn_file_example [2024/04/10 11:21] (current) – add another client example antisa | ||
---|---|---|---|
Line 47: | Line 47: | ||
-----END CERTIFICATE----- | -----END CERTIFICATE----- | ||
</ca> | </ca> | ||
+ | </ | ||
+ | |||
+ | |||
+ | <file openvpn client-example-2.txt> | ||
+ | client | ||
+ | dev tun | ||
+ | |||
+ | proto udp | ||
+ | remote vpn.example.org | ||
+ | port 1194 | ||
+ | |||
+ | resolv-retry infinite | ||
+ | |||
+ | nobind | ||
+ | |||
+ | persist-key | ||
+ | persist-tun | ||
+ | |||
+ | # use this to point to certificates or embed them directly in file like below | ||
+ | #ca ca.crt | ||
+ | #cert client.crt | ||
+ | #key client.key | ||
+ | |||
+ | remote-cert-tls server | ||
+ | |||
+ | tls-auth ta.key 1 | ||
+ | |||
+ | cipher AES-256-CBC | ||
+ | |||
+ | verb 3 | ||
+ | |||
+ | |||
+ | # embedded certificates | ||
+ | <ca> | ||
+ | ... CA certificate | ||
+ | </ca> | ||
+ | <key> | ||
+ | ... client' | ||
+ | </ | ||
+ | < | ||
+ | ... client' | ||
+ | </ | ||
+ | < | ||
+ | ... tls-auth ta.key | ||
+ | </ | ||
</ | </ | ||
====== Tested on ====== | ====== Tested on ====== |
wiki/ovpn_file_example.txt · Last modified: 2024/04/10 11:21 by antisa