Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. dev tap
  2. proto udp
  3. port 8876
  4.  
  5. ca /etc/openvpn/easy-rsa/keys/ca.crt
  6. cert /etc/openvpn/easy-rsa/keys/server.crt
  7. key /etc/openvpn/easy-rsa/keys/server.key
  8. dh /etc/openvpn/easy-rsa/keys/dh1024.pem
  9. tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0 # ajout pour multiple client
  10. # crl-verify /etc/openvpn/crl.pem # ajout pour révocation
  11. cipher AES-256-CBC # ajout pour un meilleur cryptage
  12.  
  13. user nobody
  14. group nogroup
  15. server 10.8.0.0 255.255.255.0
  16.  
  17. persist-key
  18. persist-tun
  19.  
  20. status /var/log/openvpn-status.log
  21. verb 3
  22. client-to-client
  23.  
  24. push "redirect-gateway def1"
  25. #set the dns servers
  26. push "dhcp-option DNS 8.8.8.8"
  27. push "dhcp-option DNS 8.8.4.4"
  28.  
  29. log-append /var/log/openvpn
  30. comp-lzo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement