Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. Configuration file for server:
  2. proto tcp4-server
  3. dev tun
  4. tls-server
  5. tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ta.key" 0
  6. tun-mtu 1500
  7. tun-mtu-extra 32
  8. mssfix 1450
  9. ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
  10. cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
  11. key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key"
  12. dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh4096.pem"
  13. server 10.10.10.0 255.255.255.0
  14. client-to-client
  15. keepalive 10 120
  16. cipher AES-128-CBC
  17. comp-lzo
  18. persist-key
  19. persist-tun
  20. client-config-dir "C:\\Program Files\\OpenVPN\\config"
  21. verb 3
  22. route-delay 5
  23. route-method exe
  24. push "route 192.168.0.0 255.255.255.0"
  25. route 192.168.182.0 255.255.255.0
  26.  
  27. Additional configuration file for server:
  28. ifconfig-push 10.10.10.5 10.10.10.6
  29. iroute 192.168.182.0 255.255.255.0
  30. # disable
  31.  
  32. Configuration file for client:
  33. remote 176.122.115.66
  34. client
  35. port 12345
  36. proto tcp4-client
  37. dev tun
  38. tls-client
  39. tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1
  40. remote-cert-tls server
  41. tun-mtu 1500
  42. tun-mtu-extra 32
  43. mssfix 1450
  44.  
  45. ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
  46. cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
  47. key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"
  48.  
  49. cipher AES-128-CBC
  50. comp-lzo
  51. persist-key
  52. persist-tun
  53. verb 3
  54. mute 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement