stunnelhelper.conf.template 821 B

123456789101112131415161718192021222324252627282930313233343536
  1. ; Certificate/key is needed in server mode and optional in client mode
  2. ; The default certificate is provided only for testing and should not
  3. ; be used in a production environment
  4. cert = stunnel.pem
  5. ;key = stunnel.pem
  6. ; Some performance tunings
  7. socket = l:TCP_NODELAY=1
  8. socket = r:TCP_NODELAY=1
  9. ; Use it for client mode?
  10. client = no
  11. ;only useful if we don't use vnc compression??
  12. ;compression=zlib
  13. ;output log
  14. output=stunnel.log
  15. ;taskbar icon for helper
  16. taskbar = yes
  17. ; Service-level configuration
  18. [vncclient]
  19. client = no
  20. ; port we're listening on:
  21. accept = $(HELPERSERVERPORT)
  22. ; forward that to:
  23. connect = 127.0.0.1:65001
  24. client = no
  25. sslVersion = TLSv1
  26. ciphers = AES256-SHA:AES128-SHA:IDEA-CBC-MD5
  27. ;DES-CBC3-SHA is slow
  28. ;don't use hosts.allow
  29. ;won't work on windows
  30. ;libwrap = no
  31. TIMEOUTconnect = 60
  32. TIMEOUTidle = 60