Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. mode server
  2. tls-server
  3.  
  4. #local home.kirbynet.se ## ip/hostname of server
  5. port 1194 ## default openvpn port
  6. proto udp
  7.  
  8.  
  9.  
  10. #bridging directive
  11. dev tap0 ## If you need multiple tap devices, add them here
  12. up "/etc/openvpn/up.sh br0"
  13. down "/etc/openvpn/down.sh br0"
  14.  
  15. persist-key
  16. persist-tun
  17.  
  18. #certificates and encryption
  19. ca ca.crt
  20. cert server.crt
  21. key server.key # This file should be kept secret
  22. dh dh1024.pem
  23. tls-auth ta.key 0 # This file is secret
  24.  
  25. cipher BF-CBC # Blowfish (default)
  26. comp-lzo
  27.  
  28. #DHCP Information
  29. ifconfig-pool-persist ipp.txt
  30. server-bridge 192.168.2.2 255.255.255.0 192.168.2.10 192.168.2.20
  31. push "dhcp-option DNS 192.168.2.1"
  32. push "dhcp-option DOMAIN Kirbynet.se"
  33. max-clients 10 ## set this to the max number of clients that should be connected at a time
  34.  
  35. #log and security
  36. user nobody
  37. group nogroup
  38. keepalive 10 120
  39. status openvpn-status.log
  40. verb 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement