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.

1234567891011121314151617181920212223242526272829303132333435
  1. # Serveur TCP/443
  2. mode server
  3. proto tcp-server
  4. port %%VPNPORT%%
  5. dev tun
  6. client-to-client
  7. # Cles et certificats
  8. ca /etc/openvpn/%%VPNNAME%%/ca.crt
  9. cert /etc/openvpn/%%VPNNAME%%/server.crt
  10. key /etc/openvpn/%%VPNNAME%%/server.key
  11. dh /etc/openvpn/%%VPNNAME%%/dh1024.pem
  12. tls-auth /etc/openvpn/%%VPNNAME%%/ta.key 1
  13. key-direction 0
  14. cipher AES-256-CBC
  15. crl-verify /etc/openvpn/%%VPNNAME%%/easy-rsa/keys/crl.pem
  16. client-config-dir /etc/openvpn/%%VPNNAME%%/clientsconf
  17. # Reseau
  18. server %%VPNIPRANGE%% 255.255.255.0
  19. keepalive 10 120
  20. # Securite
  21. user www-data
  22. group ovpn-manager
  23. persist-key
  24. persist-tun
  25. comp-lzo
  26. # Log
  27. verb 1
  28. mute 20
  29. status /var/vpn/status-%%VPNNAME%%
  30. #log-append /var/log/openvpn-%%VPNNAME%%.log