No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.cnf.j2 625B

123456789101112131415161718192021222324252627282930313233343536
  1. client
  2. dev tun
  3. proto {{ openvpn_protocol }}
  4. remote {{ openvpn_server }} {{ openvpn_port }}
  5. cipher {{ openvpn_cipher }}
  6. auth {{ openvpn_auth_digest }}
  7. resolv-retry infinite
  8. nobind
  9. persist-key
  10. persist-tun
  11. ns-cert-type server
  12. comp-lzo
  13. key-direction 1
  14. verb 3
  15. route {{ ansible_default_ipv4.address }} 255.255.255.255 net_gateway
  16. {{ openvpn_tls_version_min }}
  17. # If you'd like to enable 2FA support, uncomment the following line
  18. ;auth-user-pass
  19. <ca>
  20. {{ openvpn_ca_contents.stdout }}
  21. </ca>
  22. <cert>
  23. {{ item[1].stdout }}
  24. </cert>
  25. <key>
  26. {{ item[2].stdout }}
  27. </key>
  28. <tls-auth>
  29. {{ openvpn_hmac_firewall_contents.stdout }}
  30. </tls-auth>