##-----------------------------------------------------------------------------
## stunnel.txt - fli4l configuration parameters                            V3.6
##
##        P L E A S E   R E A D   T H E   D O C U M E N T A T I O N ,
##                      S E E   S T U N N E L . T X T
##
##        B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##        L E S E N ,  S I E H E   S T U N N E L  . T X T
##
## Creation:     2004-01-17    Norbert Jurka
## Last Update:  2012-03-16    Christoph Fritsch <fli4l@dechristo.net>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------
#------------------------------------------------------------------------
# Optional package: stunnel
#------------------------------------------------------------------------
OPT_STUNNEL='no'                       #install stunnel: "yes" or "no"

STUNNEL_CONFIG_N='1'                   #by default only enable SSL fpr httpd
STUNNEL_1_IN='443'                     #Port to listen on (443 for https default)
STUNNEL_1_OUT='80'                     #Port to deliver (80 for http), 
                                       #should be set to HTTPD_PORT from httpd.txt
STUNNEL_1_HOST=''                      #Hostname/IP where to data is send (empty for localhost)
STUNNEL_1_DESC='https'

STUNNEL_2_IN='8443'                    #Make internal webserver available via ssl
STUNNEL_2_OUT='80'                     #on port 8443 of the router
STUNNEL_2_HOST='192.168.1.2'
STUNNEL_2_DESC='interner Webserver per ssl'
