Advertisement
njunwa1

ovpn

Mar 20th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1.  
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. port 5555 #- port
  27. proto tcp #- protocol
  28. dev tun
  29. tun-mtu 1500
  30. tun-mtu-extra 32
  31. mssfix 1450
  32. reneg-sec 0
  33. ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
  34. cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
  35. key /etc/openvpn/easy-rsa/2.0/keys/server.key
  36. dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
  37. plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login #- Comment this line if you are using FreeRADIUS
  38. #plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf #- Uncomment this line if you are using FreeRADIUS
  39. client-cert-not-required
  40. username-as-common-name
  41. server 10.8.0.0 255.255.255.0
  42. push "redirect-gateway def1"
  43. push "dhcp-option DNS 8.8.8.8"
  44. push "dhcp-option DNS 8.8.4.4"
  45. keepalive 5 30
  46. comp-lzo
  47. persist-key
  48. persist-tun
  49. status 1194.log
  50. verb 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement