stunnelhelped.conf.template 939 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 = yes
  11. ;only useful if we don't use vnc compression??
  12. ;compression=zlib
  13. ;output log
  14. output=stunnel.log
  15. ; if we use a taskbar icon, end user may
  16. ; fix problems himself once disconnected.
  17. taskbar=yes
  18. ; Service-level configuration
  19. [vncserver]
  20. ;client mode (remote service uses SSL):
  21. client = yes
  22. ; port we're listening on:
  23. accept = 127.0.0.1:65000
  24. ; forward that to:
  25. connect = $(HELPERSERVERNAME):$(HELPERSERVERPORT)
  26. delay = yes
  27. sslVersion = TLSv1
  28. ciphers = AES256-SHA:AES128-SHA:IDEA-CBC-MD5
  29. ;DES-CBC3-SHA is slow
  30. ;don't use hosts.allow
  31. ;won't work on windows
  32. ;libwrap = no
  33. TIMEOUTconnect = 60
  34. TIMEOUTidle = 60