Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. ----------------------------SERVER----------------------------------
  2.  
  3. mode server
  4. tls-server
  5. keepalive 1 5
  6. port 447
  7. proto udp
  8. dev tun
  9. engine
  10.  
  11. server 100.64.10.0 255.255.255.0
  12.  
  13. ca /etc/openvpn/easy-rsa/keys/ca.crt
  14. cert /etc/openvpn/easy-rsa/keys/server.crt
  15. key /etc/openvpn/easy-rsa/keys/server.key
  16. dh /etc/openvpn/easy-rsa/keys/dh1024.pem
  17.  
  18. ifconfig-pool-persist ip.txt
  19. ifconfig-pool-linear
  20. verb 3
  21.  
  22. status openvpn-status.log
  23. duplicate-cn
  24.  
  25. push "route 22.22.0.0 255.255.254.0 100.64.10.1"
  26. push "route 22.22.2.0 255.255.255.0 100.64.10.1"
  27.  
  28. script-security 2
  29. plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin3.cnf
  30.  
  31. max-clients 8000
  32.  
  33. status /var/log/openvpn-status2.log
  34. log-append /var/log/openvpn-server2.log
  35.  
  36. username-as-common-name
  37.  
  38. cipher BF
  39. auth none
  40. link-mtu 1471
  41. txqueuelen 200
  42.  
  43. no-replay
  44. topology p2p
  45. reneg-sec 0
  46. no-iv
  47.  
  48. ---------------------------CLIENT ----------------------------------
  49. client
  50. tls-client
  51. dev tun
  52. proto udp
  53. keepalive 1 10
  54. cert /openvpn/bin/sbin/user.crt
  55. key /openvpn/bin/sbin/user.key
  56. ca /openvpn/bin/sbin/ca.crt
  57. auth-user-pass /openvpn/bin/sbin/auth.txt
  58. reneg-sec 0
  59. verb 3
  60.  
  61. cipher BF
  62. auth none
  63. link-mtu 1471
  64.  
  65. remote-random
  66. nobind
  67. pull
  68.  
  69. topology p2p
  70. no-replay
  71. fast-io
  72. no-iv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement