server-udp.conf 535 B

1234567891011121314151617181920212223242526
  1. verb 3
  2. port 1194
  3. proto udp
  4. dev tun
  5. ca key/ca.crt
  6. cert key/server.crt
  7. key key/server.key
  8. dh key/dh.pem
  9. verify-client-cert none
  10. server 10.9.0.0 255.255.255.0
  11. ifconfig-pool-persist ipp.txt
  12. push "redirect-gateway def1 bypass-dhcp"
  13. push "dhcp-option DNS 8.8.8.8"
  14. push "dhcp-option DNS 8.8.4.4"
  15. keepalive 10 120
  16. cipher AES-256-CBC
  17. user nobody
  18. group nogroup
  19. persist-key
  20. persist-tun
  21. status /var/log/openvpn/server-udp-status.log
  22. log /var/log/openvpn/server-udp.log
  23. verb 3
  24. mute 10
  25. plugin openvpn-plugin-auth-pam.so login
  26. username-as-common-name