설명 없음
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 594B

12345678910111213141516171819202122232425262728293031323334
  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. # If you'd like to enable 2FA support, uncomment the following line
  17. ;auth-user-pass
  18. <ca>
  19. {{ openvpn_ca_contents.stdout }}
  20. </ca>
  21. <cert>
  22. {{ item[1].stdout }}
  23. </cert>
  24. <key>
  25. {{ item[2].stdout }}
  26. </key>
  27. <tls-auth>
  28. {{ openvpn_hmac_firewall_contents.stdout }}
  29. </tls-auth>