server1.ovpn.template 433 B

12345678910111213141516171819202122232425262728293031323334
  1. client
  2. dev tun
  3. <connection>
  4. remote vpn.example.com 1194 udp
  5. nobind
  6. connect-timeout 15
  7. </connection>
  8. resolv-retry infinite
  9. persist-key
  10. persist-tun
  11. remote-cert-tls server
  12. verb 3
  13. mute 20
  14. #cipher AES-256-CBC
  15. #cipher AES-128-CBC
  16. #cipher AES-256-GCM
  17. #cipher AES-128-GCM
  18. #data-ciphers "AES-256-CBC:AES-128-CBC:AES-256-GCM:AES-128-GCM"
  19. #auth sha256
  20. #auth-nocache
  21. <ca>
  22. -----BEGIN CERTIFICATE-----
  23. ...
  24. -----END CERTIFICATE-----
  25. </ca>