Changes

Jump to navigation Jump to search
1,330 bytes added ,  13:52, 19 July 2007
Create squid settings howto. Document setup of 'BypassProxyFrom' and 'BypassProxyTo'
==Squid Proxy Server Settings==
{{Incomplete}}
This section should contain links to the various Squid modifiers - Squidguard, Dansguardian, Sarg, etc.
===Customizing Squid===
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
cd /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
wget -O 35transproxy <nowiki>http://bugs.contribs.org/attachment.cgi?id=1191</nowiki>
wget -O 90adjustTransProxy <nowiki>http://bugs.contribs.org/attachment.cgi?id=1192</nowiki>
config setprop squid BypassProxyTo a.b.c.d
expand-template /etc/rc.d/init.d/masq
service masq restart
* Replace '''a.b.c.d''' with the IP or network address for which you wish to bypass the proxy server.
* Use '''config setprop squid BypassProxyFrom a.b.c.d''' to configure a specific local host or network that should bypass the proxy server
* Note that 'signal-event remoteaccess-update' does not seem to completely rebuild /etc/rc.d/init.d/masq
* Be sure to check the bug for changes to the attachments: http://bugs.contribs.org/show_bug.cgi?id=2374)

Disable squid proxy bypass using:
config delprop squid BypassProxyFrom
config delprop squid BypassProxyTo
expand-template /etc/rc.d/init.d/masq
service masq restart
----
[[Category:Howto]]

Navigation menu