Squid
Revision as of 12:53, 19 July 2007 by Mmccarn (talk | contribs) (→Bypass the Proxy Server Without Disabling Your Transparent Proxy)
Squid Proxy Server Settings
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 http://bugs.contribs.org/attachment.cgi?id=1191 wget -O 90adjustTransProxy http://bugs.contribs.org/attachment.cgi?id=1192 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