openvpn_client.conf.tpl 840 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # [WARN] Edit this raw configuration ONLY IF YOU KNOW what
  2. # you do!
  3. # [WARN] Continue to use the placeholders <TPL:*> and keep
  4. # update their value on the web admin (they are not
  5. # only used for this file).
  6. remote <TPL:SERVER_NAME>
  7. proto <TPL:PROTO>
  8. port <TPL:SERVER_PORT>
  9. pull
  10. nobind
  11. dev tun
  12. tun-ipv6
  13. keepalive 10 30
  14. comp-lzo adaptive
  15. # Authentication by login
  16. <TPL:LOGIN_COMMENT>auth-user-pass /etc/openvpn/keys/credentials
  17. # UDP only
  18. <TPL:UDP_COMMENT>explicit-exit-notify
  19. # TLS
  20. tls-client
  21. remote-cert-tls server
  22. ca /etc/openvpn/keys/ca-server.crt
  23. <TPL:CERT_COMMENT>cert /etc/openvpn/keys/user.crt
  24. <TPL:CERT_COMMENT>key /etc/openvpn/keys/user.key
  25. # Logs
  26. verb 3
  27. mute 5
  28. status /var/log/openvpn-client.status
  29. log-append /var/log/openvpn-client.log
  30. # Routing
  31. route-ipv6 2000::/3
  32. redirect-gateway def1 bypass-dhcp