[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 48: Stunnel server example

Page 48

  
  Stunnel server example
  $ cat stunnel.conf
  Debug = local5.notice
  Cert = /etc/stunnel/secgw.pem
  CAPath = /etc/stunnel/employee_certificates
  Verify = 3
  [securesquid]
      accept = secgw.my_company.com:9999
      connect = squid.internal.my_company.com:3128
  [secureweb]
      accept = secgw.my_company.com:443
      connect = www.internal.my_company.com:80
  [imaps]
      accept = secgw.my_company.com:993
      exec = /usr/sbin/imapd
      execargs = imapd arg1 arg2 arg3

Copyright 2003, Bri Hatch of Onsight, Inc.

Presented at Real World Linux, 2003.

Presentation created using vim and MagicPoint.