Advertisement
Guest User

Server.conf

a guest
Nov 28th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. log /dev/null
  2. status /dev/null
  3. ;local a.b.c.d
  4. # open up this port on your firewall.
  5. port 1194
  6. # TCP or UDP server?
  7. proto tcp
  8. ;proto udp
  9. ;dev tap
  10. dev tun
  11. ;dev-node MyTap
  12. ca ca.crt
  13. cert server.crt
  14. key server.key # This file should be kept secret
  15. dh dh2048.pem
  16. ;topology subnet
  17. server 10.8.0.0 255.255.255.0
  18. ifconfig-pool-persist ipp.txt
  19. ;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
  20. ;server-bridge
  21. ;push "route 192.168.10.0 255.255.255.0"
  22. ;push "route 192.168.20.0 255.255.255.0"
  23. ;client-config-dir ccd
  24. ;route 192.168.40.128 255.255.255.248
  25. ;client-config-dir ccd
  26. ;route 10.9.0.0 255.255.255.252
  27. ;learn-address ./script
  28. push "redirect-gateway def1 bypass-dhcp"
  29. push "dhcp-option DNS 8.8.8.8"
  30. push "dhcp-option DNS 8.8.4.4"
  31. ;client-to-client
  32. ;duplicate-cn
  33. keepalive 10 120
  34. ;tls-auth ta.key 0 # This file is secret
  35. ;cipher BF-CBC # Blowfish (default)
  36. ;cipher AES-128-CBC # AES
  37. ;cipher DES-EDE3-CBC # Triple-DES
  38. comp-lzo
  39. max-clients 1
  40. user nobody
  41. group nobody
  42. persist-key
  43. persist-tun
  44. status openvpn-status.log
  45. ;log openvpn.log
  46. ;log-append openvpn.log
  47. verb 3
  48. ;mute 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement