Advertisement
Guest User

Untitled

a guest
Aug 5th, 2012
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. # Port
  2. port 1194
  3. proto tcp
  4. mode server
  5. tls-server
  6. dev tun
  7.  
  8. server 10.0.0.0 255.255.255.0
  9. tun-mtu 1500
  10. mssfix
  11.  
  12. #Paths to the certs
  13. ca easy-rsa/2.0/keys/ca.crt
  14. cert easy-rsa/2.0/keys/server.crt
  15. key easy-rsa/2.0/keys/server.key
  16.  
  17. #Diffie-Hellmann Parameters
  18. dh easy-rsa/2.0/keys/dh1024.pem
  19.  
  20. #Same Ip in the next session
  21. ifconfig-pool-persist ipp.txt
  22.  
  23. #Tests the connection with a ping like paket. (wait=120sec)
  24. keepalive 10 120
  25.  
  26. #Authenication
  27. auth SHA1
  28.  
  29. #Our encryption algorithm
  30. #cipher aes-256-ecb
  31. #openvpn --show-ciphers for testing
  32.  
  33. #comp
  34. comp-lzo
  35.  
  36. #Sets new rights after the connection
  37. user nobody
  38.  
  39. group nogroup
  40.  
  41. #We need this because of user nobody/group nobody.
  42. persist-key
  43. persist-tun
  44.  
  45. #Logging 0, (testing:5)
  46. verb 5
  47.  
  48. #routen
  49.  
  50. push "route add 10.0.0.0 mask 255.255.255.255 10.0.0.1"
  51. push "redirect-gateway def1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement