Advertisement
Guest User

server.conf

a guest
Dec 2nd, 2018
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local 192.168.50.26
  2.  
  3. port 1194
  4. port 443
  5.  
  6. proto tcp
  7. ;proto udp
  8.  
  9.  
  10. ;dev tap
  11. dev tun
  12.  
  13. ca ca.crt
  14. cert foo.crt
  15. key foo.key  # This file should be kept secret
  16.  
  17. dh dh2048.pem
  18.  
  19. server 10.8.0.0 255.255.255.0
  20.  
  21. ifconfig-pool-persist /var/log/openvpn/ipp.txt
  22.  
  23. push "route 192.168.50.0 255.255.255.0"
  24.  
  25. client-to-client
  26.  
  27. duplicate-cn
  28.  
  29. keepalive 10 120
  30.  
  31. cipher AES-128-CBC
  32. ncp-disable
  33.  
  34. compress lz4-v2
  35. push "compress lz4-v2"
  36.  
  37. max-clients 30
  38.  
  39. persist-key
  40. persist-tun
  41.  
  42. status /var/log/openvpn/openvpn-status.log
  43.  
  44. log-append  /var/log/openvpn/openvpn.log
  45.  
  46. verb 3
  47.  
  48. ## explicit-exit-notify 1
  49. ## RE ENABLE FOR UDP
  50.  
  51. tun-mtu 1500
  52. mssfix 1300
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement