- Mitglied seit
- 13 Mrz 2005
- Beiträge
- 1,877
- Punkte für Reaktionen
- 24
- Punkte
- 38
Hallo,
vielleicht kann ja mir hier jemand mitlesender bei der Konfiguration ein wenig "in die Seite treten".
Ich poste mal einfach meine config-Dateien hier rein, eventuell gibt es den einen oder anderen Hinweis dazu.
proxy.txt
squid.txt
Zur Erklärung:
- mein Router hat die IP 192.168.115.5
- alle Clients sind im gleichen Netzwerksegment
- ich möchte beide Proxies kaskadieren, also soll der Weg vom Browser zum privoxy und weiter zum squid gehen. Und natürlich soll Tor auch noch benutzt werden...
Für die Profis hier unter uns sicherlich ein kleines Problem, für mich schon fast eine unüberwindliche Barriere.
Danke für die Hilfe.
vielleicht kann ja mir hier jemand mitlesender bei der Konfiguration ein wenig "in die Seite treten".
Ich poste mal einfach meine config-Dateien hier rein, eventuell gibt es den einen oder anderen Hinweis dazu.
proxy.txt
Code:
# Optional package: PRIVOXY (Privacy Enhancing Proxy)
#------------------------------------------------------------------------------
OPT_PRIVOXY='yes' # privoxy: yes or no
PRIVOXY_LISTEN_N='1' # number off interfaces to listen on
PRIVOXY_LISTEN_1='192.168.115.122:8118'
# use an ip adress or a symblic name like
# IP_NET_1_IPADDR followed by a port number
PRIVOXY_ALLOW_N='2'
PRIVOXY_ALLOW_1='IP_NET_1' # open firewall for the hosts and networks
PRIVOXY_ALLOW_2='192.168.115.0/24' # listed in the allow list
PRIVOXY_FORWARD='' # optional forward-host:forward-port
PRIVOXY_TOGGLE='yes' # may user switch privoxy off?
PRIVOXY_EDIT_CONFIG='yes' # may users edit the config online?
PRIVOXY_LOGDIR='' # do you want a log file?
PRIVOXY_LOGLEVEL='1 4096 8192' # what to log? (see manual)
PRIVOXY_USETOR='yes' # forward all request to the tor anon proxy
OPT_TOR='yes' # install tor sock4/5 anon proxy
TOR_LISTEN_N='1' # number off interfaces to listen on
TOR_LISTEN_1='192.168.115.5:9050'
# use an ip adress or a symblic name like
# IP_NET_1_IPADDR followed by a port number
TOR_ALLOW_N='2'
TOR_ALLOW_1='IP_NET_1' # open firewall for the hosts and networks
TOR_ALLOW_2='192.168.115.0/24' # listed in the allow list
squid.txt
Code:
# Optional package: PROXY (squid)
#------------------------------------------------------------------------------
OPT_SQUID='yes'
SQUID_TRANSPARENT_CACHING='no' # squid redirects port 80 to
# cache clients who do not
# enter proxy in configuration
SQUID_HTTP_PORT='3128' # Squid listens on this port
# default: 3128
SQUID_MEM_CACHE_SIZE='8' # in MB
# default: 8
SQUID_DISK_CACHE_SIZE='128' # in MB
# first Squid cache directory
SQUID_MAX_OBJECT_SIZE='65536' # maximum size of objects in
# cache in kB
SQUID_WORK_DIR='/data/squid' # dir where cache and logs are
# stored. Must have rw access
# and should not be deleted on
# reboot
#----------------------------------
# log file settings:
#----------------------------------
SQUID_CYCLE_LOG_N='10' # number of logfile rotations
# (0=disable the rotation)
SQUID_CYCLE_LOG_TIME='172800' # if empty default of 48 hours
# will be used. You have to set
# it in seconds(48h=172800sec.)
# could be 1h (3600) if you
# have not enough space
# after X sec. log files will
# be deleted to free up space
SQUID_ACCESS_LOG='yes' # create access.log or not
SQUID_HTTPD_LIKE_LOG='yes' # emulate httpd like log entries
# to make them more readable
# e.g. if you don't want to have
# a unix like timestamp in your
# log's
# prevents some loganalyzers
#----------------------------------
# squid network settings:
#----------------------------------
SQUID_AUTO_CONFIG='yes' # configure allowed networks
# with networks in base.txt
SQUID_ACCESS_NET_N='1' # number of IP ethernet networks
SQUID_ACCESS_NET_1='192.168.115.0/24' # network wich is allowed to
# access squid
SQUID_ACCESS_NET_2='172.16.0.0/12' # network wich is allowed to
# access squid
SQUID_ACCESS_NET_3='192.168.0.0/16' # network wich is allowed to
# access squid
#----------------------------------
# squid advanced settings:
#----------------------------------
SQUID_CACHE_DIR_N='0' # define more than cache dirs
# if you want to spread cache
# over multiple disks
SQUID_CACHE_1_DIR='/disk2/squid-cache' # where the cache is located
SQUID_CACHE_1_SIZE='1000' # in MB
SQUID_NEXT_PROXY='no' # Parent Proxy
SQUID_NEXT_PROXY_URL='www-proxy.t-online.de' # URL or IP of Parent Proxy
SQUID_NEXT_PROXY_PORT='80' # Port Parent Proxy
Zur Erklärung:
- mein Router hat die IP 192.168.115.5
- alle Clients sind im gleichen Netzwerksegment
- ich möchte beide Proxies kaskadieren, also soll der Weg vom Browser zum privoxy und weiter zum squid gehen. Und natürlich soll Tor auch noch benutzt werden...
Für die Profis hier unter uns sicherlich ein kleines Problem, für mich schon fast eine unüberwindliche Barriere.
Danke für die Hilfe.