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

Next revision
Previous revision
wiki:ovpn_file_example [2021/06/02 10:09] – created antisawiki:ovpn_file_example [2024/06/10 08:27] (current) – [ovpn file example] add howto ignore pushed DNS servers 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
 +
 +key-direction 1
 +
 +cipher AES-256-CBC
 +
 +#Uncomment this block to ignore the pushed DNS servers and use your own
 +#pull-filter ignore "dhcp-option DNS" 
 +#dhcp-option DNS 1.1.1.1            
 +#dhcp-option DNS 1.0.0.1
 +
 +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.1622628575.txt.gz · Last modified: 2021/06/02 10:09 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