Advertisement
Guest User

openvpn lan server

a guest
Jul 21st, 2018
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. mode server
  2. tls-server
  3. dev tap
  4. local SERVER.IP
  5. port 1194
  6. proto udp
  7. tun-mtu 1500
  8. fragment 1300
  9. mssfix
  10. ifconfig 10.7.0.1 255.255.255.0
  11. ifconfig-pool 10.7.0.100 10.7.0.199 255.255.255.0
  12. ifconfig-pool-persist lan/ipp.txt
  13. push "route-gateway 10.7.0.1"
  14. push "route 10.7.0.0 255.255.255.0"
  15. client-config-dir lan/ccd
  16. client-to-client
  17. ca ca.crt
  18. cert server.crt
  19. key server.key
  20. dh dh2048.pem
  21. tls-auth ta.key 0
  22. tls-version-min 1.2
  23. tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA
  24. cipher AES-256-GCM
  25. auth SHA512
  26. compress lz4-v2
  27. push "compress lz4-v2"
  28. keepalive 10 120
  29. user nobody
  30. group nogroup
  31. persist-key
  32. persist-tun
  33. status lan/status.log
  34. log /var/log/openvpn/lan.log
  35. verb 5
  36. explicit-exit-notify 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement