Advertisement
trupsalms

sever.conf

Jul 16th, 2017
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. port 1195
  2. proto udp
  3. dev tun1
  4. ca /etc/openvpn/ca.crt
  5. cert /etc/openvpn/server.crt
  6. key /etc/openvpn/server.key # This file should be kept secret
  7. dh /etc/openvpn/dh2048.pem
  8. server 172.8.0.0 255.255.255.0
  9. ifconfig-pool-persist ipp.txt
  10. push "dhcp-option DNS 8.8.8.8"
  11. push "dhcp-option DNS 8.8.4.4"
  12. keepalive 10 120
  13. tls-auth /etc/openvpn/ta.key 0 # This file is secret
  14. cipher AES-256-CBC
  15. user nobody
  16. group nobody
  17. persist-key
  18. persist-tun
  19. status openvpn-status.log
  20. log /var/log/openvpn.log
  21. verb 3
  22. explicit-exit-notify 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement