User Tools

Site Tools


wiki:ovpn_file_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:ovpn_file_example [2021/06/02 12:09] – created antisawiki: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>
 +
 +
 +<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's key
 +</key>
 +<cert>
 +... client's certificate
 +</cert>
 +<tls-auth>
 +... tls-auth ta.key
 +</tls-auth>
 </file> </file>
 ====== Tested on ====== ====== Tested on ======
wiki/ovpn_file_example.txt · Last modified: 2024/04/10 11:21 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki