Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. auth = "plain[passwd=/etc/ocserv/ocpasswd]"
  2. enable-auth = "certificate"
  3. tcp-port = 443
  4. udp-port = 443
  5. run-as-user = ocserv
  6. run-as-group = ocserv
  7. socket-file = ocserv.sock
  8. chroot-dir = /var/lib/ocserv
  9. isolate-workers = true
  10. max-clients = 16
  11. max-same-clients = 2
  12. keepalive = 32400
  13. dpd = 90
  14. mobile-dpd = 1800
  15. switch-to-tcp-timeout = 25
  16. try-mtu-discovery = true
  17. server-cert = *.org.crt
  18. server-key = *.org.key
  19. ca-cert = ca.crt
  20. cert-user-oid = 2.5.4.3
  21. crl = /etc/ocserv/pki/crl.pem
  22. tls-priorities="SECURE192:%SERVER_PRECEDENCE:%LATEST_RECORD_VERSION:-VERS-ALL:+VERS-TLS1.2:+VERS-DTLS1.2"
  23. match-tls-dtls-ciphers = false
  24. auth-timeout = 240
  25. idle-timeout = 1200
  26. session-timeout = 86400
  27. mobile-idle-timeout = 2400
  28. min-reauth-time = 300
  29. max-ban-score = 50
  30. ban-reset-time = 300
  31. cookie-timeout = 300
  32. deny-roaming = false
  33. rekey-time = 172800
  34. rekey-method = ssl
  35. use-occtl = true
  36. pid-file = /var/run/ocserv.pid
  37. device = tun
  38. predictable-ips = true
  39. default-domain = *
  40. ipv4-network = 172.26.223.0
  41. ipv4-netmask = 255.255.255.0
  42. ipv6-network = fda9:4efe:7e3b:03ea::/64
  43. ipv6-subnet-prefix = 128
  44. dns = 2606:4700:4700::1111
  45. dns = 1.1.1.1
  46. ping-leases = false
  47. output-buffer = 30
  48. cisco-client-compat = true
  49. dtls-legacy = true
  50. user-profile = profile.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement