##-----------------------------------------------------------------------------
## proxy.txt - fli4l configuration parameters                      3.7.0-rev20394
##
##        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   R E A D M E . 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   R E A D M E . T X T
##
## Creation:     26.06.2001  fm
## Last Update:  $Id: proxy.txt 19152 2011-03-11 11:23:34Z jw5 $
##
## Copyright (c) 2001-2011 - Frank Meyer, fli4l-Team - team@fli4l.de
##
## 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: PRIVOXY (Privacy Enhancing Proxy)
#------------------------------------------------------------------------------
OPT_PRIVOXY='no'                         # privoxy: yes or no
    PRIVOXY_MENU='yes'                    # show Privoxy in httpd menu?
    PRIVOXY_N='1'                         # number off instances
    PRIVOXY_1_LISTEN='IP_NET_1_IPADDR:8118' # ip and port to listen on

    PRIVOXY_1_ALLOW_N='1'                 # open firewall for hosts and networks
    PRIVOXY_1_ALLOW_1='IP_NET_1'

    PRIVOXY_1_HTTP_PROXY=''               # optional http forward (host:port)
    PRIVOXY_1_SOCKS_PROXY=''              # optional socks4a forward (host:port)
                                          #  e.g. 127.0.0.1:9050 to use TOR
                                          #  remember making TOR listen this port
    PRIVOXY_1_TOGGLE='yes'                # may users switch privoxy on/off?
    PRIVOXY_1_CONFIG='yes'                # may users edit the config online?
    PRIVOXY_1_LOGDIR='/var/log/privoxy'   # folder for log files
    PRIVOXY_1_LOGLEVEL='1 4096 8192'      # what to log? (see manual)

    # the folloing is a sample for a privoxy sending its traffic to tor
    PRIVOXY_2_LISTEN='IP_NET_1_IPADDR:8090'

    PRIVOXY_2_ALLOW_N='1'
    PRIVOXY_2_ALLOW_1='IP_NET_1'

    PRIVOXY_2_HTTP_PROXY=''
    PRIVOXY_2_SOCKS_PROXY='127.0.0.1:9050'
    PRIVOXY_2_TOGGLE='yes'
    PRIVOXY_2_CONFIG='yes'

    PRIVOXY_2_LOGDIR='/var/log/privoxy-tor'
    PRIVOXY_2_LOGLEVEL='1 4096 8192'

#------------------------------------------------------------------------------
# Optional package: TOR (The Onion Router)
#------------------------------------------------------------------------------
OPT_TOR='no'                              # install tor sock4a anon proxy
    TOR_LISTEN_N='1'                      # number off interfaces to listen on
    TOR_LISTEN_1='IP_NET_1_IPADDR:9050'
    TOR_LISTEN_2='127.0.0.1:9050'         # activate this to listen for local privoxy

    TOR_ALLOW_N='1'                       # open firewall for hosts and networks
    TOR_ALLOW_1='IP_NET_1'

    TOR_CONTROL_PORT=''                   # control using Tor Control Protocol
                                          #  leave empty to disable control
    TOR_CONTROL_PASSWORD=''               # password to gain control over TOR
    TOR_DATA_DIR=''                       # data folder (/etc/tor, if left empty)
    TOR_HTTP_PROXY=''                     # forward directory request to proxy
    TOR_HTTP_PROXY_AUTH=''                # username:password for http proxy
    TOR_HTTPS_PROXY=''                    # forward SSL traffic to proxy
    TOR_HTTPS_PROXY_AUTH=''               # username:password for http proxy
    TOR_LOGLEVEL='notice'                 # debug, info, notice, warn or err
                                          #  logging is disabled if left empty.
                                          #  WARNING: do NOT use levels below
                                          #  'notice' for security reasons!
    TOR_LOGFILE=''                        # log to file instate of syslog

#------------------------------------------------------------------------------
# Optional package: SS5 (Generic Socks proxy)
#------------------------------------------------------------------------------
OPT_SS5='no'                              # install ss5 socks4/5 proxy
    SS5_LISTEN_N='1'                      # number of interfaces to listen on
    SS5_LISTEN_1='IP_NET_1_IPADDR:8050'

    SS5_ALLOW_N='1'                       # open firewall for hosts and networks
    SS5_ALLOW_1='IP_NET_1'

#------------------------------------------------------------------------------
# Optional package: Transproxy (transparently forward HTTP requests)
#------------------------------------------------------------------------------
OPT_TRANSPROXY='no'
    TRANSPROXY_LISTEN_N='1'               # number of interfaces to listen on
    TRANSPROXY_LISTEN_1='any:8081'
    TRANSPROXY_TARGET_IP='127.0.0.1'      # where to redirect requests
    TRANSPROXY_TARGET_PORT='8118'
    TRANSPROXY_ALLOW_N='1'
    TRANSPROXY_ALLOW_1='IP_NET_1'
