Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. tls-server
  2. port 1194
  3. proto tcp
  4. dev tun0
  5. tun-mtu-extra 32
  6. tun-mtu 1400
  7. mssfix 1360
  8. tcp-queue-limit 128
  9. txqueuelen 2000
  10. tcp-nodelay
  11. sndbuf 393216
  12. rcvbuf 393216
  13. push "sndbuf 393216"
  14. push "rcvbuf 393216"
  15. server 10.8.0.0 255.255.255.0
  16. ca /etc/openvpn/keys/ca.crt
  17. cert /etc/openvpn/keys/server.crt
  18. key /etc/openvpn/keys/server.key
  19. dh /etc/openvpn/keys/dh2048.pem
  20. persist-key
  21. persist-tun
  22. keepalive 1 180
  23. comp-lzo
  24. user nobody
  25. client-to-client
  26. username-as-common-name
  27. client-cert-not-required
  28. auth-user-pass-verify /etc/openvpn/script/login.sh via-env
  29. max-clients 100
  30. push "redirect-gateway def1"
  31. push "dhcp-option DNS 1.1.1.1"
  32. push "dhcp-option DNS 1.0.0.1"
  33. script-security 3
  34. client-connect /etc/openvpn/script/connect.sh
  35. client-disconnect /etc/openvpn/script/disconnect.sh
  36. status /var/www/html/status/tcp2.txt
  37. log-append /etc/openvpn/log/openvpn.log
  38. verb 3
  39. connect-retry-max infinite
  40. tls-server
  41. port 1194
  42. proto tcp
  43. dev tun1
  44. tun-mtu-extra 32
  45. tun-mtu 1400
  46. mssfix 1360
  47. tcp-queue-limit 128
  48. txqueuelen 2000
  49. tcp-nodelay
  50. sndbuf 393216
  51. rcvbuf 393216
  52. push "sndbuf 393216"
  53. push "rcvbuf 393216"
  54. server 10.8.0.0 255.255.255.0
  55. ca /etc/openvpn/keys/ca.crt
  56. cert /etc/openvpn/keys/server.crt
  57. key /etc/openvpn/keys/server.key
  58. dh /etc/openvpn/keys/dh2048.pem
  59. persist-key
  60. persist-tun
  61. keepalive 1 180
  62. comp-lzo
  63. user nobody
  64. client-to-client
  65. username-as-common-name
  66. client-cert-not-required
  67. auth-user-pass-verify /etc/openvpn/script/login.sh via-env
  68. max-clients 100
  69. push "redirect-gateway def1"
  70. push "dhcp-option DNS 1.1.1.1"
  71. push "dhcp-option DNS 1.0.0.1"
  72. script-security 3
  73. client-connect /etc/openvpn/script/connect.sh
  74. client-disconnect /etc/openvpn/script/disconnect.sh
  75. status /var/www/html/status/tcp2.txt
  76. log-append /etc/openvpn/log/openvpn.log
  77. verb 3
  78. connect-retry-max infinite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement