c3d2-wiki/Server%2Fsquid.mw

83 lines
1.4 KiB
Plaintext

[[Kategorie:Infrastruktur]]
== Hardware Info ==
Virtualisiert durch [[intern:Freebert]]
== Software Info ==
FreeBSD Jail Container
* squid 3.3
== Verwendungszweck ==
* WebCache
* (Anonymisierung durch externe IPv4 per iPredator, IPv6 von der JAIL)
== JAIL: Squid Anpassung ==
sehr leichte Anonymisierung durch via,forwarded,follow_x_forwarded off
<source lang=bash>
vi /usr/local/etc/squid/squid.conf
dns_v4_first on
#Privacy Things
via off
forwarded_for off
follow_x_forwarded_for deny all
</source>
Segfault bei "aufs" da die Jail im ZFS läuft
<source lang=bash>
cache_dir ufs /var/squid/cache/squid 100 16 256
</source>
== automatische Proxy Einstellungen ==
<source lang=bash>
firefox: Edit -> Preferences -> Advanced -> Settings -> Auto-detect proxy settings for this network
</source>
== manuelle Proxy Einstellungen ==
<source lang=bash>
172.22.99.53:3128
</source>
== Web Proxy Autodiscovery Protocol (WPAD) ==
per DHCP wird die proxy.pac URL verteilt
<source lang=bash>
vi /usr/local/etc/dhcpd.conf
option local-proxy-config code 252 = text;
option local-proxy-config "http://172.22.99.54/proxy.pac";
</source>
Watchbert (Apache 2.4) bietet die proxy.pac an
alternativ existieren proxy/wpad DNS Einträge
== Tests ==
http://test-ipv6.com/
http://www.iprivacytools.com/proxy-checker-anonymity-test/
http://ip-check.info/?lang=de
== Log ==
* 16.04.2014 - einfaches Basis Setup