c3d2-wiki/Server%2Fsquid.mw

77 lines
1.6 KiB
Plaintext

{{beinhaltet Abweichungen von der Realität}}
[[Server/freebert]] is gone!
== Hardware ==
Virtualisiert durch [[Server/freebert/FreeBSD]]
== Software ==
* FreeBSD Jail
* [http://www.squid-cache.org/Versions/v3/3.3/ 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</source>
<pre>
dns_v4_first on
#Privacy Things
via off
forwarded_for off
follow_x_forwarded_for deny all
</pre>
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 ==
; firefox:
: ''Edit'' -> ''Preferences'' -> ''Advanced'' -> ''Settings'' -> ''Auto-detect proxy settings for this network''
== 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</source>
<pre>
option local-proxy-config code 252 = text;
</pre>
<pre>
</pre>
<pre>
option local-proxy-config "http://172.22.99.54/proxy.pac";
</pre>
[[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
== Siehe auch ==
* [[wikipedia:de:Squid]]
[[Kategorie:Infrastruktur]]