openvpn.conf 589 B

1234567891011121314151617181920212223242526
  1. server 172.16.100.0 255.255.255.0
  2. verb 3
  3. tls-server
  4. ca /etc/openvpn/easyrsa/pki/ca.crt
  5. key /etc/openvpn/easyrsa/pki/private/server.key
  6. cert /etc/openvpn/easyrsa/pki/issued/server.crt
  7. dh /etc/openvpn/easyrsa/pki/dh.pem
  8. crl-verify /etc/openvpn/easyrsa/pki/crl.pem
  9. tls-auth /etc/openvpn/easyrsa/pki/ta.key
  10. key-direction 0
  11. cipher AES-128-CBC
  12. #management 127.0.0.1 8989
  13. keepalive 10 60
  14. persist-key
  15. persist-tun
  16. topology subnet
  17. #proto tcp
  18. #port 1194
  19. #dev tun0
  20. status /tmp/openvpn-status.log
  21. user nobody
  22. group nogroup
  23. push "topology subnet"
  24. push "route-metric 9999"
  25. push "dhcp-option DNS 1.1.1.1"