server.conf 633 B

12345678910111213141516171819202122232425
  1. port 1194
  2. proto tcp
  3. dev tun
  4. verb 3
  5. ca /etc/openvpn/keys/ca.crt
  6. cert /etc/openvpn/keys/server.crt
  7. key /etc/openvpn/keys/server.key
  8. dh /etc/openvpn/keys/dh2048.pem
  9. crl-verify /etc/openvpn/keys/stonevpn.crl
  10. tls-auth /etc/openvpn/keys/ta.key 0
  11. server 10.10.20.0 255.255.255.0
  12. #ifconfig-pool-persist /etc/openvpn/ipp.txt
  13. push "route 192.168.200.0 255.255.248.0"
  14. push "route 10.20.0.0 255.255.0.0"
  15. route 192.168.21.0 255.255.255.0
  16. route 192.168.26.0 255.255.255.0
  17. client-config-dir /etc/openvpn/ccd
  18. ccd-exclusive
  19. keepalive 10 60
  20. comp-lzo
  21. persist-key
  22. persist-tun
  23. status /var/log/openvpn-status.log
  24. log /var/log/openvpn.log