NoPaste

openvVPN Conf

von Norcoen

SNIPPET_TEXT:
  1. #
  2. # BASICS
  3. #
  4. mode server
  5. tls-server
  6. port 11167
  7. proto udp
  8. dev tap0
  9.  
  10. #
  11. # CERTS
  12. #
  13. ca /etc/openvpn/ca.crt
  14. cert /etc/openvpn/server.crt
  15. key /etc/openvpn/server.key
  16.  
  17. #
  18. # ENCRYPTION
  19. #
  20. tls-auth /etc/openvpn/ta.key 0
  21. dh /etc/openvpn/dh.pem
  22. crl-verify /etc/openvpn/crl.pem
  23.  
  24.  
  25. server-bridge 192.XXX.111.2 255.255.255.0 192.XXX.111.201 192.XXX.111.210
  26. push "dhcp-option DNS 192.XXX.111.15"
  27. max-clients 10 #max concurrent connections
  28. push "redirect-gateway def1"
  29.  
  30. #
  31. # OTHER
  32. #
  33.  
  34. cipher AES-256-CBC #choose encryption algorithm
  35. keepalive 10 120 #keeping connection alive
  36. client-to-client #authorises client to client connectivity
  37. verb 3 #verbosity
  38.  
  39.  
  40. user nobody
  41. group nogroup
  42.  
  43. persist-key
  44. persist-tun

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN